2 ms·
> We disallow arbitrary queries and at the same time > This gives you the flexibility of GraphQL The flexibility of GraphQL is in the arbitrary queries.
by dmitriid 6y ago
> We disallow arbitrary queries
and at the same time
> This gives you the flexibility of GraphQL
The flexibility of GraphQL is in the arbitrary queries.
- lyxsus 6y agoYou just don’t get that you can apply limitations to graphql query not unlike you when you don’t allow to fetch a billion records from rest endpoint? This what that about? Because that’s a question of how, solvable.
- jensneuse 6y agoYou only need this flexibility during development. In production it's rarely the case you want to change a query without deploying a new version of the app. So there's no flexibility lost.
- dmitriid 6y agoThank you for the explanation!