News for hackers. Stuff that matters.
Re:Ask HN: Which is better: GraphQL vs. REST? by Rjevski on Saturday November 03, 2018 @02:11PM (#18371609)
GraphQL's main advantage is better efficiency network-wise, as you only make one request to get all your data instead of several which is usually the case with REST when you have to fetch related resources.

If you're targeting a mobile app, GraphQL can be a good option. If your API is purely for server-to-server communication, then don't bother; it's extra complexity for pretty much no gain.

There are no comments on this comment yet.