Skip to content

Commit 316dbf0

Browse files
committed
s/array/list/
1 parent 39c0935 commit 316dbf0

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Appendix B -- Grammar Summary.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,14 @@ Value[Const] :
130130
- StringValue
131131
- BooleanValue
132132
- EnumValue
133-
- ArrayValue[?Const]
133+
- ListValue[?Const]
134134
- ObjectValue[?Const]
135135

136136
BooleanValue : one of `true` `false`
137137

138138
EnumValue : Name but not `true`, `false` or `null`
139139

140-
ArrayValue[Const] :
140+
ListValue[Const] :
141141
- [ ]
142142
- [ Value[?Const]+ ]
143143

Section 2 -- Language.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ Value[Const] :
582582
- StringValue
583583
- BooleanValue
584584
- EnumValue
585-
- ArrayValue[?Const]
585+
- ListValue[?Const]
586586
- ObjectValue[?Const]
587587

588588
Field and directive arguments accept input values of various literal primitives;
@@ -664,7 +664,7 @@ does not supply a value literal to represent the concept {null}.
664664

665665
#### List Value
666666

667-
ArrayValue[Const] :
667+
ListValue[Const] :
668668
- [ ]
669669
- [ Value[?Const]+ ]
670670

@@ -676,11 +676,11 @@ commas do not represent missing values.
676676

677677
**Semantics**
678678

679-
ArrayValue : [ ]
679+
ListValue : [ ]
680680

681681
* Return a new empty list value.
682682

683-
ArrayValue : [ Value+ ]
683+
ListValue : [ Value+ ]
684684

685685
* Let {inputList} be a new empty list value.
686686
* For each {Value+}

Section 3 -- Type System.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ type declared by the input field.
662662

663663
A GraphQL list is a special collection type which declares the type of each
664664
item in the List (referred to as the *item type* of the list). List values are
665-
serialized as ordered lists, where each item in the array is serialized as per
665+
serialized as ordered lists, where each item in the list is serialized as per
666666
the item type. To denote that a field uses a List type the item type is wrapped
667667
in square brackets like this: `pets: [Pet]`.
668668

0 commit comments

Comments
 (0)