File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1595,8 +1595,13 @@ is constructed with the following rules:
1595
1595
definition does not provide a default value , the input object field
1596
1596
definition 's default value should be used .
1597
1597
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 }.
1598
+ * If the input object is a Oneof Input Object :
1599
+
1600
+ * If the coerced unordered map does not contain exactly one entry , an error
1601
+ must be thrown .
1602
+
1603
+ * If the value of the single entry in the coerced unordered map is {null }, an
1604
+ error must be thrown .
1600
1605
1601
1606
Following are examples of input coercion for an input object type with a
1602
1607
`String ` field `a ` and a required (non-null) `Int !` field `b `:
You can’t perform that action at this time.
0 commit comments