Skip to content

Commit 9179c48

Browse files
committed
Prohibit root mutation and subscription types from implementing interfaces
1 parent 1fe9b61 commit 9179c48

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spec/Section 3 -- Type System.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,11 @@ The {`query`} _root operation type_ must be provided and must be an Object type.
145145

146146
The {`mutation`} _root operation type_ is optional; if it is not provided, the
147147
service does not support mutations. If it is provided, it must be an Object
148-
type.
148+
type that does not implement interfaces.
149149

150150
Similarly, the {`subscription`} _root operation type_ is also optional; if it is
151151
not provided, the service does not support subscriptions. If it is provided, it
152-
must be an Object type.
152+
must be an Object type that does not implement interfaces.
153153

154154
The {`query`}, {`mutation`}, and {`subscription`} root types must all be
155155
different types if provided.

0 commit comments

Comments
 (0)