Skip to content

Conversation

leebyron
Copy link
Contributor

This PR tackles a few things:

  1. Adds doc block illustrating grammar for every parse rule.
  2. Changes Union syntax to match what we use in GraphQL spec.
  3. Add default value to field arguments, along with test.
  4. Edit tests to be of form "expect test-value to be expected-value"
  5. Consistency through rules w.r.t loc vs location and short-hand object definitions.

This PR tackles a few things:

1. Adds doc block illustrating grammar for every parse rule.
2. Changes Union syntax to match what we use in GraphQL spec.
3. Add default value to field arguments, along with test.
4. Edit tests to be of form "expect test-value to be expected-value"
5. Consistency through rules w.r.t `loc` vs `location` and short-hand object definitions.
leebyron added a commit that referenced this pull request Jul 21, 2015
Docs and Alterations to Schema Grammar
@leebyron leebyron merged commit 822dca8 into master Jul 21, 2015
@leebyron leebyron deleted the grammar-pass branch July 21, 2015 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants