Skip to content

Commit

Permalink
'Including null' (copied from section 6)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Jan 23, 2025
1 parent 8eaa45b commit a045f14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/Section 3 -- Type System.md
Original file line number Diff line number Diff line change
Expand Up @@ -1654,9 +1654,9 @@ is constructed with the following rules:

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

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

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

0 comments on commit a045f14

Please sign in to comment.