From a69c849b2a28611f4217469b4298d8f0b49bae61 Mon Sep 17 00:00:00 2001 From: David Govea Date: Wed, 21 Apr 2021 02:15:56 -0700 Subject: [PATCH] fix attempt 1: remove includeDeprecated from directive & adjust test --- src/utilities/__tests__/getIntrospectionQuery-test.js | 2 +- src/utilities/getIntrospectionQuery.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utilities/__tests__/getIntrospectionQuery-test.js b/src/utilities/__tests__/getIntrospectionQuery-test.js index 3f0c36298f..c64db38adf 100644 --- a/src/utilities/__tests__/getIntrospectionQuery-test.js +++ b/src/utilities/__tests__/getIntrospectionQuery-test.js @@ -108,7 +108,7 @@ describe('getIntrospectionQuery', () => { expectIntrospectionQuery({ inputValueDeprecation: true }).toMatch( 'includeDeprecated: true', - 5, + 4, ); expectIntrospectionQuery({ inputValueDeprecation: false }).toMatch( diff --git a/src/utilities/getIntrospectionQuery.js b/src/utilities/getIntrospectionQuery.js index 1c9abb4204..35ee0459c6 100644 --- a/src/utilities/getIntrospectionQuery.js +++ b/src/utilities/getIntrospectionQuery.js @@ -62,7 +62,7 @@ export function getIntrospectionQuery(options?: IntrospectionOptions): string { ${descriptions} ${directiveIsRepeatable} locations - args${inputDeprecation('(includeDeprecated: true)')} { + args { ...InputValue } }