Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 872 Bytes

summary.md

File metadata and controls

14 lines (11 loc) · 872 Bytes
title
Summary

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.