Skip to content

Commit 2babd5b

Browse files
committed
add some clarification around usage
1 parent 869ec98 commit 2babd5b

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

docs/source/api/apollo-server.mdx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,10 +500,15 @@ Apollo Server v5 will _always_ behave as if this option is `true` (and will igno
500500
`Boolean`
501501
</td>
502502
<td>
503-
504-
⚠️ Caution: this option can lead to security vulnerabilities and unexpected behavior. Use of this option in production is not supported by Apollo.
503+
⚠️ Caution: this option can lead to security vulnerabilities and unexpected
504+
behavior. Use of this option in production is not supported by Apollo.
505505

506506
When set to `true`, disable validation of graphql operations entirely.
507+
508+
You might find this option interesting for performance reasons if you handle
509+
operation validation at build time and enforce that only known, validated
510+
operations are allowed to be executed at runtime. Note that validation of
511+
operations is cached in Apollo Server's document store.
507512
</td>
508513
</tr>
509514

0 commit comments

Comments
 (0)