r/programming • u/macrohard_certified • Sep 03 '26
Maybe you don't need GraphQL
https://alexandrehtrb.github.io/posts/2026/09/maybe-you-dont-need-graphql/
278
Upvotes
r/programming • u/macrohard_certified • Sep 03 '26
View all comments
Show parent comment
1
u/lord2800 Sep 04 '26
Only if you assume the shape of the response solely based on the path, and not on the whole url (which, yes, a lot of systems do because that's how it's been done in the past).
Only if your cache doesn't honor and your backend doesn't send cache headers. You can't control intermediate proxies but most of them these days are good at honoring cache headers anyway.
You have an argument here, but only because that's the way it's been done in the past--not because of any real limitation.
All of the arguments I've seen against REST are all because of either misunderstandings of what the spec actually means or because of the poor implementation choices of the past. I've yet to encounter an argument against REST that isn't rooted in one of those two issues. That being said, there is something to argue against a spec that's widely misinterpreted, so I'll give you points on that too.