3 ms·
I love GraphQL because it is a standard people can agree on, if nothing else. It is a very long list of decisions your team does not have to make. How to handl
by honkycat 6y ago
I love GraphQL because it is a standard people can agree on, if nothing else.
It is a very long list of decisions your team does not have to make. How to handle mutations and queries, how to represent your domain objects, all of this can be decided through referencing the spec and best practice.
Throw in the fact that it REQUIRES you to define a strict schema that has validation, and I am sold. The tooling is great, you get great documentation out of the box, the architecture is good enough, it is totally win-win in my book.
I feel like with REST you have to reinvent the wheel over and over again, and the lack of standards leaves the burden on the team, who may not be senior level engineers.. ( If I have to write another validation library I am going to flip out. )