Skip to content

Commit

Permalink
Merge pull request #317 from NickBolles/patch-1
Browse files Browse the repository at this point in the history
bugfix(): correctly extend options.schema
  • Loading branch information
kamilmysliwiec authored Jul 13, 2019
2 parents af15d21 + 4757ac4 commit aba1c64
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/graphql.factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,8 @@ export class GraphQLFactory {
: executableSchema;

const autoGeneratedSchemaConfig = autoGeneratedSchema.toConfig();
const executableSchemaConfig = executableSchema.toConfig();
const schemaConfig = this.overrideOrExtendResolvers(
executableSchemaConfig,
schema.toConfig(),
autoGeneratedSchemaConfig,
);

Expand Down

0 comments on commit aba1c64

Please sign in to comment.