@mock Directive
The @mock directive proposes a common way for schema authors to describe fixture behavior for fields that are served from generated data in development and test environments.
GraphQL Auxiliary Proposals
Community specifications and auxiliary proposals outside the core GraphQL specification.
Don't see what you're looking for? Propose an idea for a new GAP →
github.com/graphql/gapsThe @mock directive proposes a common way for schema authors to describe fixture behavior for fields that are served from generated data in development and test environments.
The @cacheControl directive proposes a small schema annotation for field and object cache hints that can be shared across GraphQL servers and gateways.
The @streamPolicy directive proposes a schema-level way to document delivery preferences for fields that are expected to use incremental transport.
The @cost directive proposes a shared schema annotation for rough execution cost used by query planners, gateways, and admission control systems.
The @redact directive proposes a schema annotation for fields that should be masked in logs, traces, and diagnostic output.