Skip to content

Commit

Permalink
Change validationRules docs from object to array (#5666)
Browse files Browse the repository at this point in the history
  • Loading branch information
SleeplessOne1917 authored Aug 27, 2021
1 parent 5e228ed commit 3baf16b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/api/apollo-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,11 @@ Providing a function is useful if you want to use a different root value dependi

##### `validationRules`

`Object`
`Array<Function>`
</td>
<td>

An object containing custom functions to use as additional [validation rules](https://github.com/graphql/graphql-js/tree/master/src/validation/rules) when validating the schema.
An array containing custom functions to use as additional [validation rules](https://github.com/graphql/graphql-js/tree/master/src/validation/rules) when validating the schema.
</td>
</tr>

Expand Down

0 comments on commit 3baf16b

Please sign in to comment.