Skip to content

Commit

Permalink
further clarify designator semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
twof committed Oct 25, 2021
1 parent 97ccdd3 commit 7df9360
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/Section 2 -- Language.md
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,9 @@ Nullability :
Fields can have their nullability designated with either a `!` to indicate that a
field should be `Non-Nullable` or a `?` to indicate that a field should be
`Nullable`. These designators override the nullability set on a field by the schema
for the operation where they're being used.
for the operation where they're being used. For example, a field marked with `!` in
a query will be treated identically to a field marked with `!` in the schema for the
purposes of validation and execution.

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

0 comments on commit 7df9360

Please sign in to comment.