News for hackers. Stuff that matters.
Re:REST vs. GraphQL – A search for evidence on which is better by fiddlerwoaroof on Tuesday December 15, 2020 @11:17PM (#25439000)
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
Re:REST vs. GraphQL – A search for evidence on which is better by tshaddox on Wednesday December 16, 2020 @12:41AM (#25439477)
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.
Re:REST vs. GraphQL – A search for evidence on which is better by fiddlerwoaroof on Wednesday December 16, 2020 @01:14AM (#25439638)
I don’t disagree: I tend to find REST + openapi codegen a more compelling developer experience then yet another query DSL.
Re:REST vs. GraphQL – A search for evidence on which is better by collyw on Wednesday December 16, 2020 @06:19AM (#25441316)
> even if it’s better than most of the APIs people call RESTful

I feel your pain.