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 } }