Skip to content

Commit 2147dc8

Browse files
committed
State greediness of GraphQL
Explicitly state that the GraphQL grammar is greedy to clear up possible disambiguity. Closes #539
1 parent 972f2cb commit 2147dc8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/Appendix A -- Notation Conventions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ ListOfLetterA :
4343
- `a`
4444
- ListOfLetterA `a`
4545

46+
The GraphQL grammar is greedy; this means that given a choice between matching an optional token or a subsequent rule, the optional token prevails.
4647

4748
## Lexical and Syntactical Grammar
4849

0 commit comments

Comments
 (0)