3 ms·
If you control the back and front end, I don't buy into this argument. You don't have to define all your REST endpoints up front, you can add them as needed. I
by vlunkr 6y ago
If you control the back and front end, I don't buy into this argument. You don't have to define all your REST endpoints up front, you can add them as needed.
If you're serving a public API and you really don't know up front what endpoints people will need, or like facebook you have tons of people with different needs, then maybe GraphQL makes sense.
- TJSomething 6y agoWhen you have separate backend and frontend teams, Conway's Law starts to rear its ugly head. GraphQL can help smooth over some of that organizational friction and maybe keep the frontend team from making N+1 requests because they gotta get this feature out by the end of the sprint and backend's busy with its stuff. They tell themselves, "It'll be fine. It's performs acceptably on my machine with my company internet connection."