From 4757ac402282c84115adabf18913f652393f3074 Mon Sep 17 00:00:00 2001 From: Nick Bolles Date: Tue, 2 Jul 2019 23:00:18 -0500 Subject: [PATCH] fix: correctly extend options.schema --- lib/graphql.factory.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/graphql.factory.ts b/lib/graphql.factory.ts index 3f057c42e..d040c3889 100644 --- a/lib/graphql.factory.ts +++ b/lib/graphql.factory.ts @@ -61,9 +61,8 @@ export class GraphQLFactory { : executableSchema; const autoGeneratedSchemaConfig = autoGeneratedSchema.toConfig(); - const executableSchemaConfig = executableSchema.toConfig(); const schemaConfig = this.overrideOrExtendResolvers( - executableSchemaConfig, + schema.toConfig(), autoGeneratedSchemaConfig, );