News for hackers. Stuff that matters.
Re:REST vs. GraphQL – A search for evidence on which is better by bryanrasmussen on Wednesday December 16, 2020 @02:33AM (#25440017)
I think if you have a small team and are developing an API for your application's needs probably things can be done as well or better in Rest, but if you have an API that needs to face to third parties or a very large organization with APIs that need to be exposed to multiple frontend teams or a product like a CMS that frontend teams that are not part of your organization then the benefits of GraphQL will often quickly outweigh Rest.

This is a feeling on the problem space, and not based on any studies though, as I'm unaware of any studies trying to determine this.

Re:REST vs. GraphQL – A search for evidence on which is better by matsemann on Wednesday December 16, 2020 @02:43AM (#25440066)
I'm in the same boat. I like integrating with graphql endpoints. But for endpoints I make myself for my own frontend, I prefer making exactly what I need. Doing it more general would be a waste of time (YAGNI etc), and since it's often the critical path (not just data fetching) it's nice to have it clearly laid ot what's happening, without having to have knowledge about how the frontend happens to call it.