Skip to content

Commit 2dedea9

Browse files
committed
fix attempt 1: remove includeDeprecated from directive
& adjust test
1 parent 2dd46eb commit 2dedea9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/utilities/__tests__/getIntrospectionQuery-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ describe('getIntrospectionQuery', () => {
108108

109109
expectIntrospectionQuery({ inputValueDeprecation: true }).toMatch(
110110
'includeDeprecated: true',
111-
5,
111+
4,
112112
);
113113

114114
expectIntrospectionQuery({ inputValueDeprecation: false }).toMatch(

src/utilities/getIntrospectionQuery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function getIntrospectionQuery(options?: IntrospectionOptions): string {
6262
${descriptions}
6363
${directiveIsRepeatable}
6464
locations
65-
args${inputDeprecation('(includeDeprecated: true)')} {
65+
args {
6666
...InputValue
6767
}
6868
}

0 commit comments

Comments
 (0)