File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -1707,16 +1707,12 @@ is constructed with the following rules:
1707
1707
Further , if the input object is a _OneOf Input Object_ , the following additional
1708
1708
rules apply :
1709
1709
1710
- - If the input object literal or unordered map does not contain exactly one
1711
- entry a _request error_ must be raised .
1710
+ - Prior to coercion of the input object literal , if the literal does not contain
1711
+ exactly one entry , or if the value of this single entry is the {null } literal ,
1712
+ a _request error_ must be raised .
1712
1713
1713
- - Within the input object literal or unordered map , if the single entry is the
1714
- {null } literal or {null } a _request error_ must be raised .
1715
-
1716
- - If the coerced unordered map does not contain exactly one entry a _request
1717
- error_ must be raised .
1718
-
1719
- - If the value of the single entry in the coerced unordered map is {null } a
1714
+ - After coercion a the input object , if the resulting coerced unordered map does
1715
+ not contain exactly one entry , or if this single entry has the value {null }, a
1720
1716
_request error_ must be raised .
1721
1717
1722
1718
Following are examples of input coercion for an input object type with a
You can’t perform that action at this time.
0 commit comments