Re:REST vs. GraphQL – A search for evidence on which is better
by intellix on Wednesday December 16, 2020 @07:30PM
(#25450767)
well it's literally just a tree of functions with extra metadata to make it extra powerful. Also have used both REST and GQL heavily and it essentially solves lots of problems I had with REST. I'm never writing REST again and when I see that something I'm consuming also have a GQL API it makes me so happy to be able to know every single field available to me.
The only use-case where it's annoying me is a CMS for building an entire site. It's recursive as A -> B -> A -> B and the lack of recursion as of yet makes it manual work to extract every level that you need.
Re:REST vs. GraphQL – A search for evidence on which is better
by say_it_as_it_is on Wednesday December 16, 2020 @04:23AM
(#25440549)
What are the tradeoffs for doing so and what makes them more compelling? What applications don't benefit as much by using GraphQL?
I find most people who have negative opinions on GraphQL simply haven't taken the dive yet to fully understand it, and they typically overthink what it actually does. In my opinion, if you're writing a progressive web/mobile app with relational data, you should hands down be using GraphQL.