GraphQL Client Vocabulary

Operations, fragments, variables, persisted queries, and query depth — how clients interact with GraphQL efficiently.

Key vocabulary

  • Operation — a named query, mutation, or subscription in GraphQL.
  • Fragment — a reusable selection set that can be included in multiple operations.
  • Variables — dynamic values passed into an operation, separated from the query string.
  • Persisted queries — pre-registered queries identified by a hash, sent by ID instead of full text.
  • Query depth limiting — rejecting queries that nest too many levels deep.
0 / 5 completed
1 / 5
A fragment in GraphQL is used to: