Skip to content

Commit 7df9360

Browse files
committed
further clarify designator semantics
1 parent 97ccdd3 commit 7df9360

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spec/Section 2 -- Language.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,9 @@ Nullability :
525525
Fields can have their nullability designated with either a `!` to indicate that a
526526
field should be `Non-Nullable` or a `?` to indicate that a field should be
527527
`Nullable`. These designators override the nullability set on a field by the schema
528-
for the operation where they're being used.
528+
for the operation where they're being used. For example, a field marked with `!` in
529+
a query will be treated identically to a field marked with `!` in the schema for the
530+
purposes of validation and execution.
529531

530532
In this example, we can indicate that a `user`'s `name` that could possibly be
531533
`null`, should not be `null`:

0 commit comments

Comments
 (0)