Skip to content

Commit 1b3bd0c

Browse files
Update content/graphql/interfaces.md
1 parent 52fc6ec commit 1b3bd0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/graphql/interfaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export abstract class Book {
6666
}
6767
```
6868

69-
##### Interface resolvers
69+
#### Interface resolvers
7070

7171
So far, using interfaces, you could only share fields with your objects. But what if you want to share methods using your interface? That's when you use interface resolvers.
7272
To do so, create a resolver and point its type to the interface, then define your methods using the `@ResolveField` decorator.

0 commit comments

Comments
 (0)