3 ms·
The author is missing a few important notions: - graphQL server is storage-agnostic. It allows you to mix databases, APIs, anything, into one cohesive queryabl
by ricardobeat 8y ago
The author is missing a few important notions:
- graphQL server is storage-agnostic. It allows you to mix databases, APIs, anything, into one cohesive queryable model. It acts as a hub for several data sources. Consumers don’t need to care
- queries are easily composable, reusable, and can be aggregated for batching, deduplication and optimisation (can be done with a query planner, but is way more complex)
- it’s safe enough for queries to be sent directly from the client on user devices