DEV Community

Discussion on: GraphQL : The new REST?

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

You query your front-ends for data?

Thread Thread
 
gklijs profile image
Gerard Klijs

No.. But traffic between a backend service and frontend, or backend service and a database, is something different right?

Thread Thread
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

No, not really. In the end, you're querying data. It's the same thing. This should be made abundantly clear by simply comparing GraphQL and SQl. The former is little more than a simplified version of the latter forcefully pressed into a more JSON-like syntax.

Thread Thread
 
gklijs profile image
Gerard Klijs

Not really, security, error handling, depreciation, are all totally different.