Better HN
topnewbestaskshowjobs
Log inSign up

marwanad

2 karma · joined Aug 7, 2016 (10y ago) · 1 submissions

Submissions

comment 9y ago · link · parent

GraphQL was not meant to be a replacement for REST. It doesn't seem to right to compare an architectural concept to a query language.

The main power of GraphQL is for client developers and lies in the decoupling it provides between the client and server and the ability to fulfill the client needs in a single round trip. This is great for mobile devices with slower networks.

Introspection is a really powerful tool and you can build tools around that to do compile time checks and automatically generate class definitions based on your schema.