Skip to content

Commit

Permalink
add some clarification around usage
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-scheer committed Nov 16, 2023
1 parent 869ec98 commit 2babd5b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/source/api/apollo-server.mdx
Expand Up @@ -500,10 +500,15 @@ Apollo Server v5 will _always_ behave as if this option is `true` (and will igno
`Boolean`
</td>
<td>

鈿狅笍 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.
</td>
</tr>

Expand Down

0 comments on commit 2babd5b

Please sign in to comment.