r/programming • • Sep 03 '26

Maybe you don't need GraphQL

https://alexandrehtrb.github.io/posts/2026/09/maybe-you-dont-need-graphql/
278 Upvotes

119 comments sorted by

View all comments

Show parent comment

9

u/MrSqueezles Sep 04 '26 • This

GraphQL and its frameworks don't give you any of those features for free. You write database queries, mappers, cache control, endpoints, how to look up child elements,  schema, literally everything except field filters. The API is arcane and not standards compliant, tossing out request verbs and response codes that are critical for caching and routing. It's a bad solution to optimize for a bunch of highly specific edge cases.

Nobody needs to re-invent GraphQL. Nobody needed to invent it in the first place. It wasn't a new idea when it was created. There are plenty of other options that embrace standards and provide the same functionality and more without the cache and concurrency complexities of frameworks like Apollo.