Skip to content

Commit

Permalink
buildASTSchema: remove useless code (#2431)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov authored Feb 6, 2020
1 parent 9f8c284 commit 04470e0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/utilities/buildASTSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,7 @@ export function buildASTSchema(
assertValidSDL(documentAST);
}

const config = extendSchemaImpl(emptySchemaConfig, documentAST, {
...options,
assumeValidSDL: true,
});
const config = extendSchemaImpl(emptySchemaConfig, documentAST, options);

if (config.astNode == null) {
for (const type of config.types) {
Expand Down

0 comments on commit 04470e0

Please sign in to comment.