Hacker News new | ask | show | jobs
by fiddlerwoaroof 2016 days ago
There are specs like jsonapi that solve this problem. I’ve never been entirely convinced that GraphQL is better than actual REST, even if it’s better than most of the APIs people call RESTful
2 comments

JSON:API provides some of the same functionality as GraphQL, like specifying which fields and nested resources you want, but at that point you’re going to have the same problems with ensuring good performance with any combination of included fields and relationships.
I don’t disagree: I tend to find REST + openapi codegen a more compelling developer experience then yet another query DSL.
> even if it’s better than most of the APIs people call RESTful

I feel your pain.