Q14: What is GraphQL Introspection?
Introspection is the ability of a GraphQL server to expose its own schema details to clients through special top-level fields like __schema and __type. IDEs (GraphiQL, GraphQL Playground) use introspection to auto-generate docs and autocomplete queries.
Key Takeaways
- Introspection allows tools to inspect schema documentation and types.
- Introspection is typically disabled in production environments for security.
Knowledge Check
Which prefix identifies built-in GraphQL introspection fields?