From 273f976bc588fd3bc1f8b09a3d349fe47cde6dac Mon Sep 17 00:00:00 2001 From: Christoph Zwerschke Date: Sun, 8 Jan 2023 17:11:38 +0100 Subject: [PATCH] Fix wording of comment in buildClientSchema --- src/utilities/buildClientSchema.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utilities/buildClientSchema.ts b/src/utilities/buildClientSchema.ts index 0cae3398f2..b2f6771c63 100644 --- a/src/utilities/buildClientSchema.ts +++ b/src/utilities/buildClientSchema.ts @@ -65,8 +65,8 @@ export function buildClientSchema( introspection: IntrospectionQuery, options?: GraphQLSchemaValidationOptions, ): GraphQLSchema { - // Even even though `introspection` argument is typed in most cases it's received - // as untyped value from server, so we will do an additional check here. + // Even though the `introspection` argument is typed, in most cases it's received + // as an untyped value from the server, so we will do an additional check here. devAssert( isObjectLike(introspection) && isObjectLike(introspection.__schema), `Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${inspect(