Skip to content

Commit

Permalink
Copyedit
Browse files Browse the repository at this point in the history
  • Loading branch information
Meschreiber committed Aug 9, 2024
1 parent 5ce36e5 commit 5bcbee7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/api/apollo-server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,11 @@ The default value is `true`, **unless** the `NODE_ENV` environment variable is s

<td>

If `true`, Apollo Server will strip out "did you mean" suggestions when an operation fails validation.
If `true`, Apollo Server strips out "did you mean" suggestions when an operation fails validation.

For example, with this option set to `true`, an error would read `Cannot query field "help" on type "Query".` whereas with this option set to `false` it would read `Cannot query field "help" on type "Query". Did you mean "hello"?`.
For example, with this option set to `true`, an error would read `Cannot query field "help" on type "Query".`. With this option set to `false`, the same error would read `Cannot query field "help" on type "Query". Did you mean "hello"?`.

The default value is `false` but we recommend enabling this option in production to avoid leaking information about your schema.
The default value is `false`, but Apollo recommends enabling this option in production to avoid leaking information about your schema.

</td>
</tr>
Expand Down

0 comments on commit 5bcbee7

Please sign in to comment.