3 ms·
You can create a single endpoint that's non-RESTFul to make a single call.
by systemvoltage 6y ago
You can create a single endpoint that's non-RESTFul to make a single call.
- adamscybot 6y agoYes and by doing so you lost the advantages of a predictable and well organised API. GraphQL has first class support for this scenario.
- systemvoltage 6y agoI disagree. You're shifting your "organization" to the frontend which becomes an utter cesspool of chaos. If anything changes in the backend, you will need to change the frontend as well. The whole point of an API is to decouple. GraphQL does the exact opposite.