From 2babd5bbb2139073d8e4260c233b50793d0285d5 Mon Sep 17 00:00:00 2001 From: Trevor Scheer Date: Thu, 16 Nov 2023 13:54:06 -0800 Subject: [PATCH] add some clarification around usage --- docs/source/api/apollo-server.mdx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/source/api/apollo-server.mdx b/docs/source/api/apollo-server.mdx index e1522cacdb1..a006f983531 100644 --- a/docs/source/api/apollo-server.mdx +++ b/docs/source/api/apollo-server.mdx @@ -500,10 +500,15 @@ Apollo Server v5 will _always_ behave as if this option is `true` (and will igno `Boolean` - -⚠️ Caution: this option can lead to security vulnerabilities and unexpected behavior. Use of this option in production is not supported by Apollo. +⚠️ Caution: this option can lead to security vulnerabilities and unexpected +behavior. Use of this option in production is not supported by Apollo. When set to `true`, disable validation of graphql operations entirely. + +You might find this option interesting for performance reasons if you handle +operation validation at build time and enforce that only known, validated +operations are allowed to be executed at runtime. Note that validation of +operations is cached in Apollo Server's document store.