Skip to content

Commit

Permalink
fix attempt 1: remove includeDeprecated from directive
Browse files Browse the repository at this point in the history
& adjust test
  • Loading branch information
davidgovea committed Apr 21, 2021
1 parent bb76a16 commit a69c849
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utilities/__tests__/getIntrospectionQuery-test.js
Expand Up @@ -108,7 +108,7 @@ describe('getIntrospectionQuery', () => {

expectIntrospectionQuery({ inputValueDeprecation: true }).toMatch(
'includeDeprecated: true',
5,
4,
);

expectIntrospectionQuery({ inputValueDeprecation: false }).toMatch(
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/getIntrospectionQuery.js
Expand Up @@ -62,7 +62,7 @@ export function getIntrospectionQuery(options?: IntrospectionOptions): string {
${descriptions}
${directiveIsRepeatable}
locations
args${inputDeprecation('(includeDeprecated: true)')} {
args {
...InputValue
}
}
Expand Down

0 comments on commit a69c849

Please sign in to comment.