Skip to content

Commit

Permalink
feat(core): Enable inherit resolvers from interfaces (#2800)
Browse files Browse the repository at this point in the history
  • Loading branch information
seminarian authored Apr 22, 2024
1 parent a054549 commit 1069b3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/api/config/configure-graphql-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1069b3b

Please sign in to comment.