From 3baf16b2229139bccfb0b612934b9eaf6359bd90 Mon Sep 17 00:00:00 2001 From: Anthony Bias Date: Fri, 27 Aug 2021 19:44:25 -0400 Subject: [PATCH] Change validationRules docs from object to array (#5666) --- docs/source/api/apollo-server.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/api/apollo-server.md b/docs/source/api/apollo-server.md index ff96e1b52ea..57263e90dea 100644 --- a/docs/source/api/apollo-server.md +++ b/docs/source/api/apollo-server.md @@ -180,11 +180,11 @@ Providing a function is useful if you want to use a different root value dependi ##### `validationRules` -`Object` +`Array` -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.