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, );