Skip to content

Commit 269e284

Browse files
committed
apply docs suggestions
1 parent 55165cc commit 269e284

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/source/api/apollo-server.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,9 +505,9 @@ const server = new ApolloServer({
505505
});
506506
```
507507

508-
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.
508+
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.
509509

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

512512
</td>
513513
</tr>

docs/source/data/errors.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import TopLevelAwait from "../shared/top-level-await.mdx"
77

88
> Apollo Server v4 introduced a regression where providing invalid variables yields a 200 status code instead of 400. To mitigate this regression, provide the `status400ForVariableCoercionErrors: true` option to your `ApolloServer` constructor. For more information, see the [migration guide](../migration/#known-regressions).
99
10-
You can also configure how many variable coercion errors are allowed before execution is terminated using the [`executionOptions`](../api/apollo-server#executionoptions) field.
10+
You can also configure how many variable coercion errors are allowed before execution terminates using the [<code>executionOptions</code>](../api/apollo-server#executionoptions) field.
1111

1212
<!-- cSpell:ignore typenam -->
1313

0 commit comments

Comments
 (0)