Skip to content

Commit d30cd0c

Browse files
Benchmark: skip schema validation (#1401)
1 parent 4bccc3f commit d30cd0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utilities/__tests__/introspectionFromSchema-benchmark.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import { getIntrospectionQuery } from '../introspectionQuery';
1414
const queryAST = parse(getIntrospectionQuery());
1515
const schema = buildASTSchema(
1616
parse(readFileSync(join(__dirname, 'github-schema.graphql'), 'utf8')),
17+
{ assumeValid: true },
1718
);
1819

1920
export const name = 'Execute Introspection Query';

0 commit comments

Comments
 (0)