From 5ce36e547494b7bca2770239759d81faf784aff3 Mon Sep 17 00:00:00 2001 From: Maria Elisabeth Schreiber Date: Fri, 9 Aug 2024 09:41:32 -0600 Subject: [PATCH 1/2] Fix table --- docs/source/api/apollo-server.mdx | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/source/api/apollo-server.mdx b/docs/source/api/apollo-server.mdx index 89ae1522e22..30c53aeaccf 100644 --- a/docs/source/api/apollo-server.mdx +++ b/docs/source/api/apollo-server.mdx @@ -148,8 +148,6 @@ The default value is `true`, **unless** the `NODE_ENV` environment variable is s - - From 5bcbee7c7215ec1f06701f6f2ac69b95e04ba3ce Mon Sep 17 00:00:00 2001 From: Maria Elisabeth Schreiber Date: Fri, 9 Aug 2024 09:45:52 -0600 Subject: [PATCH 2/2] Copyedit --- docs/source/api/apollo-server.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/api/apollo-server.mdx b/docs/source/api/apollo-server.mdx index 30c53aeaccf..e6585ccdf8e 100644 --- a/docs/source/api/apollo-server.mdx +++ b/docs/source/api/apollo-server.mdx @@ -159,11 +159,11 @@ The default value is `true`, **unless** the `NODE_ENV` environment variable is s -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.