Advanced APIs #schema-drift #introspection #persisted-queries #depth-limiting

GraphQL Operations Vocabulary

5 exercises — master the operational vocabulary of running GraphQL in production: introspection security, query depth limiting, persisted queries, schema drift, and breaking change detection.

0 / 5 completed
GraphQL operations vocabulary quick reference
  • Introspection — meta-query system for discovering the schema; often disabled in production for security
  • Query depth limiting — rejecting queries whose nesting level exceeds a maximum (e.g. 7 levels)
  • Query complexity scoring — assigning a cost to each field; rejecting queries that exceed a total cost budget
  • Persisted queries (trusted documents) — pre-registering approved operations; clients send only the hash
  • Schema drift — divergence between the documented/registered schema and the live running schema
  • Breaking change detection — CI check that flags schema changes that would break existing client operations
  • Field deprecation — marking a field @deprecated before removal (safe migration path)
  • Field usage analytics — tracking which fields are used to safely time deprecated field removal
1 / 5

A GraphQL API has been running in production for 18 months. A new developer unfamiliar with GraphQL asks: "What is GraphQL introspection, and why do some production teams disable it?"