Skip to content

Commit e6f7939

Browse files
committed
Minor algo variable name refinements
1 parent 4666032 commit e6f7939

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

spec/Section 3 -- Type System.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2080,8 +2080,8 @@ SchemaCoordinate :
20802080
:: A *schema coordinate* is a human readable string that uniquely identifies a
20812081
*schema element* within a GraphQL Schema.
20822082

2083-
:: A *schema element* is a specific instance of a named type, type field,
2084-
input field, enum value, field argument, directive, or directive argument.
2083+
:: A *schema element* is a specific instance of a named type, field, input
2084+
field, enum value, field argument, directive, or directive argument.
20852085

20862086
A *schema coordinate* is always unique. Each *schema element* may be referenced
20872087
by exactly one possible schema coordinate.
@@ -2127,8 +2127,8 @@ SchemaCoordinate : Name . Name ( Name : )
21272127
4. Let {fieldName} be the value of the second {Name}.
21282128
5. Let {field} be the field of {type} named {fieldName}.
21292129
6. Assert {field} must exist.
2130-
7. Let {argumentName} be the value of the third {Name}.
2131-
8. Return the argument of {field} named {argumentName}.
2130+
7. Let {fieldArgumentName} be the value of the third {Name}.
2131+
8. Return the argument of {field} named {fieldArgumentName}.
21322132

21332133
SchemaCoordinate : @ Name
21342134
1. Let {directiveName} be the value of the first {Name}.
@@ -2138,15 +2138,15 @@ SchemaCoordinate : @ Name ( Name : )
21382138
1. Let {directiveName} be the value of the first {Name}.
21392139
2. Let {directive} be the directive in the {schema} named {directiveName}.
21402140
3. Assert {directive} must exist.
2141-
4. Let {argumentName} be the value of the second {Name}.
2142-
5. Return the argument of {directive} named {argumentName}.
2141+
4. Let {directiveArgumentName} be the value of the second {Name}.
2142+
5. Return the argument of {directive} named {directiveArgumentName}.
21432143

21442144
**Examples**
21452145

21462146
| Element Kind | *Schema Coordinate* | *Schema Element* |
21472147
| ------------------ | -------------------------------- | ----------------------------------------------------------------------- |
21482148
| Named Type | `Business` | `Business` type |
2149-
| Type Field | `Business.name` | `name` field on the `Business` type |
2149+
| Field | `Business.name` | `name` field on the `Business` type |
21502150
| Input Field | `SearchCriteria.filter` | `filter` input field on the `SearchCriteria` input object type |
21512151
| Enum Value | `SearchFilter.OPEN_NOW` | `OPEN_NOW` value of the `SearchFilter` enum |
21522152
| Field Argument | `Query.searchBusiness(criteria:)`| `criteria` argument on the `searchBusiness` field on the `Query` type |

0 commit comments

Comments
 (0)