Skip to content

Commit 98f82a9

Browse files
Merge pull request #3119 from Itrulia/patch-1
docs(graphql): add hint for inheritResolversFromInterfaces to interface resolvers
2 parents 8f02618 + 6bb4f64 commit 98f82a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/graphql/interfaces.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ export class CharacterInterfaceResolver {
8989

9090
Now the `friends` field resolver is auto-registered for all object types that implement the `Character` interface.
9191

92+
> warning **Warning** This requires the `inheritResolversFromInterfaces` property set to be true in the `GraphQLModule` configuration.
93+
9294
#### Schema first
9395

9496
To define an interface in the schema first approach, simply create a GraphQL interface with SDL.

0 commit comments

Comments
 (0)