Skip to main content

Trusted documents

Execute only operations your system trusts by default, usually by referencing a pre-registered document ID instead of accepting arbitrary query text.

Applies to

  • GraphQL clients
  • GraphQL servers
  • Gateways and proxies
  • Build tooling and schema registries

Why this should be default

It reduces attack surface, keeps parse/validation costs predictable, and standardizes request behavior across tooling.

In deployments that fully enforce trusted documents, this can remove the need for broad operation cost controls as a default baseline, though pagination limits are still recommended.

Solves

Implementing patterns