Skip to content

Commit dca3826

Browse files
committed
Add missing coercion rule
1 parent d17d5ec commit dca3826

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/Section 3 -- Type System.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1595,6 +1595,9 @@ is constructed with the following rules:
15951595
definition does not provide a default value, the input object field
15961596
definition's default value should be used.
15971597

1598+
* If the input object is a oneof input object, the map must contain exactly one
1599+
entry, and the value of that entry must not be {null}.
1600+
15981601
Following are examples of input coercion for an input object type with a
15991602
`String` field `a` and a required (non-null) `Int!` field `b`:
16001603

0 commit comments

Comments
 (0)