Skip to content

Commit a2e75d8

Browse files
authored
chore(docs): extend schema is needed if Mutation is never defined before (#208)
1 parent 76c776e commit a2e75d8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,11 @@ To get started, define a `additionalTypeDefs` section in your config file:
530530

531531
```yml
532532
additionalTypeDefs: |
533+
# We should define the missing `Mutation` type
534+
extend schema {
535+
mutation: Mutation
536+
}
537+
533538
type Mutation {
534539
doSomething(input: SomeCustomInput!): Boolean!
535540
}

0 commit comments

Comments
 (0)