Skip to content

Commit

Permalink
Merge pull request #306 from gtod/non-null-args-clarify
Browse files Browse the repository at this point in the history
Clairfy required non null arguments wording (#288)
  • Loading branch information
wincent authored May 4, 2017
2 parents d0583ed + 3bf9f75 commit 6e66601
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions spec/Section 5 -- Validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -645,10 +645,9 @@ fragment stringIntoInt on Arguments {

**Explanatory Text**

Arguments can be required. Arguments are required if the type of the argument
is non-null. If it is not non-null, the argument is optional. When an argument
type is non-null, and is required, the explicit value {null} may also not
be provided.
Arguments can be required. If the argument type is non-null the argument is
required and furthermore the explicit value {null} may not be provided.
Otherwise, the argument is optional.

For example the following are valid:

Expand Down

0 comments on commit 6e66601

Please sign in to comment.