Skip to content

Commit

Permalink
State greediness of GraphQL
Browse files Browse the repository at this point in the history
Explicitly state that the GraphQL grammar is greedy to clear up possible disambiguity.

Closes #539
  • Loading branch information
budde377 authored Feb 13, 2019
1 parent 972f2cb commit 740515a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/Appendix A -- Notation Conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ ListOfLetterA :
- `a`
- ListOfLetterA `a`

The GraphQL grammar is greedy; this means that when given a choice between two definitions
in a production, the rule matching the longest sequence of tokens prevails.

## Lexical and Syntactical Grammar

Expand Down

0 comments on commit 740515a

Please sign in to comment.