logoalt Hacker News

catlover76last Saturday at 9:14 PM1 replyview on HN

What would you say the good and bad of GraphQL are? Like, when it is a value-add, and when should it be avoided?


Replies

princevegeta89last Saturday at 9:28 PM

The good news is GraphQL is very quick and easy to pick up and it gives that inbuilt functionality to fetch exactly the amount of data that we need. On top of it, it also has enough flexibility to integrate with your business logic. So it can be a straightforward replacement for a traditional REST API that you would have to manually build.

For the disadvantages, I cannot think of any. It is a bit slower than hand rolling your own REST API, but the difference is not severe enough to make you give up on it.

show 4 replies