Skip to content

Commit 6097d7b

Browse files
committed
Merge pull request #173 from danielkwinsor/non-null
Unifying name of Non-Null
2 parents 41d0cd1 + 958aa10 commit 6097d7b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

spec/Section 3 -- Type System.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -828,20 +828,20 @@ exclamation mark is used to denote a field that uses a Non-Null type like this:
828828
**Result Coercion**
829829

830830
In all of the above result coercion, {null} was considered a valid value.
831-
To coerce the result of a Non Null type, the coercion of the wrapped type
831+
To coerce the result of a Non-Null type, the coercion of the wrapped type
832832
should be performed. If that result was not {null}, then the result of coercing
833-
the Non Null type is that result. If that result was {null}, then a field error
833+
the Non-Null type is that result. If that result was {null}, then a field error
834834
must be raised.
835835

836836
**Input Coercion**
837837

838-
If the argument of a Non Null type is not provided, a query error must
838+
If the argument of a Non-Null type is not provided, a query error must
839839
be raised.
840840

841-
If an argument of a Non Null type is provided with a literal value, it is
841+
If an argument of a Non-Null type is provided with a literal value, it is
842842
coerced using the input coercion for the wrapped type.
843843

844-
If the argument of a Non Null is provided with a variable, a query error must be
844+
If the argument of a Non-Null is provided with a variable, a query error must be
845845
raised if the runtime provided value is not provided or is {null} in the
846846
provided representation (usually JSON). Otherwise, the coerced value is the
847847
result of using the input coercion for the wrapped type.

spec/Section 5 -- Validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1663,7 +1663,7 @@ Variable usages must be compatible with the arguments they are passed to.
16631663

16641664
Validation failures occur when variables are used in the context of types
16651665
that are complete mismatches, or if a nullable type in a variable is passed to
1666-
a not-null argument type.
1666+
a non-null argument type.
16671667

16681668
Types must match:
16691669

0 commit comments

Comments
 (0)