From 5837c31a0d203fd687215219f22c7b2ada73a90b Mon Sep 17 00:00:00 2001 From: Pieter Doms Date: Fri, 19 Apr 2024 12:31:39 +0200 Subject: [PATCH] feat: Enable inherit resolvers from interfaces --- 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