DEV Community

[Discussion] Why GraphQL?

Dylan Anthony on April 26, 2019

Background At my place of work we have both REST and GraphQL APIs. I have to maintain and use both regularly. All of our backend develop...
Collapse
 
rhymes profile image
rhymes • Edited

I think the two main reasons for the GraphQL hype are the ability to get a subset of fields in a standard way (there's no standard in REST, every API is slightly different) and easily write interfaces on multiple REST APIs exposing them as a singular GraphQL API.

I don't think REST is going anywhere, but neither is GraphQL. We'll have to live with both for many years :)

After all SOAP APIs are still around

Collapse
 
xalitech profile image
Xali Tech

Dylan, very good post on GrphQL,to anser why Graphql I wrote on GraphQL: How to convince your boss? xalitech.com/graphql-how-to-convin...

Check that out!