@@ -1707,18 +1707,13 @@ is constructed with the following rules:
17071707Further , if the input object is a _OneOf Input Object_ , the following additional
17081708rules apply :
17091709
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 .
1710+ - Prior to construction of the coerced map via the rules above , the value to be
1711+ coerced must contain exactly one entry , and that entry must not be {null } or
1712+ the {null } literal , otherwise a _request error_ must be raised .
1713+
1714+ - The map resulting from the input coercion rules above must contain exactly one
1715+ entry , and the value for that entry must not be {null }, otherwise a _request
1716+ error_ must be raised .
17221717
17231718Following are examples of input coercion for an input object type with a
17241719`String ` field `a ` and a required (non-null) `Int !` field `b `:
0 commit comments