Skip to content

Commit 266fcca

Browse files
authored
Rename VariableDefinitions to VariablesDefinition (#916)
Rename VariableDefinitions to VariablesDefinition
1 parent 78ccda7 commit 266fcca

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

spec/Appendix B -- Grammar Summary.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ ExecutableDefinition :
143143

144144
OperationDefinition :
145145

146-
- OperationType Name? VariableDefinitions? Directives? SelectionSet
146+
- OperationType Name? VariablesDefinition? Directives? SelectionSet
147147
- SelectionSet
148148

149149
OperationType : one of `query` `mutation` `subscription`
@@ -205,7 +205,7 @@ ObjectValue[Const] :
205205

206206
ObjectField[Const] : Name : Value[?Const]
207207

208-
VariableDefinitions : ( VariableDefinition+ )
208+
VariablesDefinition : ( VariableDefinition+ )
209209

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

spec/Section 2 -- Language.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ be executed must also be provided.
280280

281281
OperationDefinition :
282282

283-
- OperationType Name? VariableDefinitions? Directives? SelectionSet
283+
- OperationType Name? VariablesDefinition? Directives? SelectionSet
284284
- SelectionSet
285285

286286
OperationType : one of `query` `mutation` `subscription`
@@ -1086,7 +1086,7 @@ ObjectValue : { ObjectField+ }
10861086

10871087
Variable : $ Name
10881088

1089-
VariableDefinitions : ( VariableDefinition+ )
1089+
VariablesDefinition : ( VariableDefinition+ )
10901090

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

spec/Section 6 -- Execution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ the operation fails without execution.
7777
CoerceVariableValues(schema, operation, variableValues):
7878

7979
- Let {coercedValues} be an empty unordered Map.
80-
- Let {variableDefinitions} be the variables defined by {operation}.
81-
- For each {variableDefinition} in {variableDefinitions}:
80+
- Let {variablesDefinition} be the variables defined by {operation}.
81+
- For each {variableDefinition} in {variablesDefinition}:
8282
- Let {variableName} be the name of {variableDefinition}.
8383
- Let {variableType} be the expected type of {variableDefinition}.
8484
- Assert: {IsInputType(variableType)} must be {true}.

0 commit comments

Comments
 (0)