Skip to content

Commit 6ec3ffa

Browse files
committed
apply docs suggestions
1 parent 7122831 commit 6ec3ffa

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/source/api/apollo-server.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,9 +525,9 @@ const server = new ApolloServer({
525525
});
526526
```
527527

528-
When variable coercion encounters more errors than the specified limit, GraphQL execution will be terminated with an error message indicating that the error limit was reached. This is useful for preventing potentially expensive operations when many input variables are malformed.
528+
When variable coercion encounters more errors than the specified limit, GraphQL execution terminates with an error message indicating that the error limit was reached. This is useful for preventing potentially expensive operations when many input variables are malformed.
529529

530-
**Note:** This option works in conjunction with [`status400ForVariableCoercionErrors`](#status400forvariablecoercionerrors) to provide appropriate HTTP status codes for variable coercion errors.
530+
Note: This option works in conjunction with [<code>status400ForVariableCoercionErrors</code>](#status400forvariablecoercionerrors) to provide appropriate HTTP status codes for variable coercion errors.
531531

532532
</td>
533533
</tr>

docs/source/data/errors.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ description: Making errors actionable on the client and server
55

66
import TopLevelAwait from "../shared/top-level-await.mdx"
77

8+
You can configure how many variable coercion errors are allowed before execution terminates using the [<code>executionOptions</code>](../api/apollo-server#executionoptions) field.
9+
810
<!-- cSpell:ignore typenam -->
911

1012
Whenever Apollo Server encounters errors while processing a GraphQL operation, its response to the client includes an `errors` array containing each error that occurred. Each error in the array has an `extensions` field that provides additional useful information, including an error `code` and (while in development mode) a `stacktrace`.

0 commit comments

Comments
 (0)