Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unifying name of Non-Null #173

Merged
merged 1 commit into from
May 10, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions spec/Section 3 -- Type System.md
Original file line number Diff line number Diff line change
Expand Up @@ -828,20 +828,20 @@ exclamation mark is used to denote a field that uses a Non-Null type like this:
**Result Coercion**

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

**Input Coercion**

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

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

If the argument of a Non Null is provided with a variable, a query error must be
If the argument of a Non-Null is provided with a variable, a query error must be
raised if the runtime provided value is not provided or is {null} in the
provided representation (usually JSON). Otherwise, the coerced value is the
result of using the input coercion for the wrapped type.
Expand Down
2 changes: 1 addition & 1 deletion spec/Section 5 -- Validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -1663,7 +1663,7 @@ Variable usages must be compatible with the arguments they are passed to.

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

Types must match:

Expand Down