@@ -1707,13 +1707,18 @@ 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
- - 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 .
1713
-
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
1716
- _request error_ must be raised .
1710
+ - Prior to the input object input coercion rules above :
1711
+
1712
+ - If the value of the input object is an input object literal and it does not
1713
+ contain exactly one entry , or if the value of this single entry is the
1714
+ {null } literal , a _request error_ must be raised .
1715
+ - Otherwise , it must be a map supplied by a variable . If the map does not
1716
+ contain exactly one entry , or if the value of this single entry is {null }, a
1717
+ _request error_ must be raised .
1718
+
1719
+ - After following the input coercion rules above , if the resulting coerced
1720
+ unordered map does not contain exactly one entry , or if this single entry has
1721
+ the value {null }, a _request error_ must be raised .
1717
1722
1718
1723
Following are examples of input coercion for an input object type with a
1719
1724
`String ` field `a ` and a required (non-null) `Int !` field `b `:
0 commit comments