Skip to content

Commit 4a70722

Browse files
authored
Revert "[RFC] Allow directives on variable definitions" (#492)
1 parent 3dc4820 commit 4a70722

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

spec/Appendix B -- Grammar Summary.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ ObjectField[Const] : Name : Value[?Const]
162162

163163
VariableDefinitions : ( VariableDefinition+ )
164164

165-
VariableDefinition : Variable : Type DefaultValue? Directives[Const]?
165+
VariableDefinition : Variable : Type DefaultValue?
166166

167167
Variable : $ Name
168168

@@ -296,7 +296,6 @@ ExecutableDirectiveLocation : one of
296296
`FRAGMENT_DEFINITION`
297297
`FRAGMENT_SPREAD`
298298
`INLINE_FRAGMENT`
299-
`VARIABLE_DEFINITION`
300299

301300
TypeSystemDirectiveLocation : one of
302301
`SCHEMA`

spec/Section 2 -- Language.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ Variable : $ Name
986986

987987
VariableDefinitions : ( VariableDefinition+ )
988988

989-
VariableDefinition : Variable : Type DefaultValue? Directives[Const]?
989+
VariableDefinition : Variable : Type DefaultValue?
990990

991991
DefaultValue : = Value[Const]
992992

spec/Section 3 -- Type System.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1624,7 +1624,6 @@ ExecutableDirectiveLocation : one of
16241624
`FRAGMENT_DEFINITION`
16251625
`FRAGMENT_SPREAD`
16261626
`INLINE_FRAGMENT`
1627-
`VARIABLE_DEFINITION`
16281627

16291628
TypeSystemDirectiveLocation : one of
16301629
`SCHEMA`

0 commit comments

Comments
 (0)