Skip to content

Commit a045f14

Browse files
committed
'Including null' (copied from section 6)
1 parent 8eaa45b commit a045f14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/Section 3 -- Type System.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1654,9 +1654,9 @@ is constructed with the following rules:
16541654

16551655
- If a variable is provided for an input object field:
16561656

1657-
- If the _coerced runtime value_ of that variable exists then it must be used.
1658-
If the coerced runtime value is {null} and the field type is non-null, a
1659-
_field error_ must be raised.
1657+
- If the _coerced runtime value_ of that variable exists (including {null})
1658+
then it must be used. If the coerced runtime value is {null} and the field
1659+
type is non-null, a _field error_ must be raised.
16601660

16611661
- If the _coerced runtime value_ of that variable does not exist then the
16621662
input object field definition's default value must be used. If no default

0 commit comments

Comments
 (0)