3 ms·
GraphQL vs. REST somewhat resembles SQL vs. (document-oriented) NoSQL. If you can agree with your clients on certain access patterns (queries), you can design y
by rwoerz 6y ago
GraphQL vs. REST somewhat resembles SQL vs. (document-oriented) NoSQL. If you can agree with your clients on certain access patterns (queries), you can design your RESTful API and your database collections, respectively, to suit these.
If clients want full flexibility in what they query and avoid over-/underfetching, GraphQL and SQL (databases) might be better.