From 1069b3b38ebf6c4e06ad4ab8ff70976e8cc788eb Mon Sep 17 00:00:00 2001 From: Pieter Doms Date: Mon, 22 Apr 2024 11:08:58 +0200 Subject: [PATCH] feat(core): Enable inherit resolvers from interfaces (#2800) --- packages/core/src/api/config/configure-graphql-module.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/api/config/configure-graphql-module.ts b/packages/core/src/api/config/configure-graphql-module.ts index 71984cf917..abea38daaf 100644 --- a/packages/core/src/api/config/configure-graphql-module.ts +++ b/packages/core/src/api/config/configure-graphql-module.ts @@ -100,6 +100,7 @@ async function createGraphQLOptions( path: '/' + options.apiPath, typeDefs: printSchema(builtSchema), include: [options.resolverModule], + inheritResolversFromInterfaces: true, fieldResolverEnhancers: ['guards'], resolvers, // We no longer rely on the upload facility bundled with Apollo Server, and instead