Skip to content

Commit 5a966f2

Browse files
committed
Forbid 'extend input' from introducing the @OneOf directive
1 parent 57e2388 commit 5a966f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spec/Section 3 -- Type System.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1751,7 +1751,9 @@ defined.
17511751
the original Input Object.
17521752
4. Any non-repeatable directives provided must not already apply to the original
17531753
Input Object type.
1754-
5. If the original Input Object is a OneOf Input Object then:
1754+
5. The `@oneOf` directive must not be provided by an Input Object type
1755+
extension.
1756+
6. If the original Input Object is a OneOf Input Object then:
17551757
1. All fields of the Input Object type extension must be nullable.
17561758
2. All fields of the Input Object type extension must not have default
17571759
values.

0 commit comments

Comments
 (0)