/
Summary
To view this content, buy the book! 😃🙏
Or if you’ve already purchased.
Summary
To recap the GraphQL query language, we can send one or more operations in a GraphQL document. Each operation has a (possibly nested) selection set, which is a set of fields, each of which may have arguments. We can also:
- Declare variables after the operation name.
- Alias fields to give them different names in the response object.
- Create named fragments to reuse fields and add type conditions to conditionally select fields from interfaces and unions.
- Add directives to modify how the server handles a part of a document.
- Use mutations to alter data.
- Use subscriptions to receive events from the server.