Skip to content

Commit

Permalink
Revert "[RFC] Allow directives on variable definitions" (#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
leebyron authored Aug 7, 2018
1 parent 3dc4820 commit 4a70722
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions spec/Appendix B -- Grammar Summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ ObjectField[Const] : Name : Value[?Const]

VariableDefinitions : ( VariableDefinition+ )

VariableDefinition : Variable : Type DefaultValue? Directives[Const]?
VariableDefinition : Variable : Type DefaultValue?

Variable : $ Name

Expand Down Expand Up @@ -296,7 +296,6 @@ ExecutableDirectiveLocation : one of
`FRAGMENT_DEFINITION`
`FRAGMENT_SPREAD`
`INLINE_FRAGMENT`
`VARIABLE_DEFINITION`

TypeSystemDirectiveLocation : one of
`SCHEMA`
Expand Down
2 changes: 1 addition & 1 deletion spec/Section 2 -- Language.md
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ Variable : $ Name

VariableDefinitions : ( VariableDefinition+ )

VariableDefinition : Variable : Type DefaultValue? Directives[Const]?
VariableDefinition : Variable : Type DefaultValue?

DefaultValue : = Value[Const]

Expand Down
1 change: 0 additions & 1 deletion spec/Section 3 -- Type System.md
Original file line number Diff line number Diff line change
Expand Up @@ -1624,7 +1624,6 @@ ExecutableDirectiveLocation : one of
`FRAGMENT_DEFINITION`
`FRAGMENT_SPREAD`
`INLINE_FRAGMENT`
`VARIABLE_DEFINITION`

TypeSystemDirectiveLocation : one of
`SCHEMA`
Expand Down

0 comments on commit 4a70722

Please sign in to comment.