Skip to content

Commit 93bd2c6

Browse files
leebyronmagicmark
authored andcommitted
Minor algo variable name refinements
1 parent c16a28b commit 93bd2c6

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
@@ -2178,8 +2178,8 @@ SchemaCoordinate :
21782178
:: A *schema coordinate* is a human readable string that uniquely identifies a
21792179
*schema element* within a GraphQL Schema.
21802180

2181-
:: A *schema element* is a specific instance of a named type, type field,
2182-
input field, enum value, field argument, directive, or directive argument.
2181+
:: A *schema element* is a specific instance of a named type, field, input
2182+
field, enum value, field argument, directive, or directive argument.
21832183

21842184
A *schema coordinate* is always unique. Each *schema element* may be referenced
21852185
by exactly one possible schema coordinate.
@@ -2225,8 +2225,8 @@ SchemaCoordinate : Name . Name ( Name : )
22252225
4. Let {fieldName} be the value of the second {Name}.
22262226
5. Let {field} be the field of {type} named {fieldName}.
22272227
6. Assert {field} must exist.
2228-
7. Let {argumentName} be the value of the third {Name}.
2229-
8. Return the argument of {field} named {argumentName}.
2228+
7. Let {fieldArgumentName} be the value of the third {Name}.
2229+
8. Return the argument of {field} named {fieldArgumentName}.
22302230

22312231
SchemaCoordinate : @ Name
22322232
1. Let {directiveName} be the value of the first {Name}.
@@ -2236,15 +2236,15 @@ SchemaCoordinate : @ Name ( Name : )
22362236
1. Let {directiveName} be the value of the first {Name}.
22372237
2. Let {directive} be the directive in the {schema} named {directiveName}.
22382238
3. Assert {directive} must exist.
2239-
4. Let {argumentName} be the value of the second {Name}.
2240-
5. Return the argument of {directive} named {argumentName}.
2239+
4. Let {directiveArgumentName} be the value of the second {Name}.
2240+
5. Return the argument of {directive} named {directiveArgumentName}.
22412241

22422242
**Examples**
22432243

22442244
| Element Kind | *Schema Coordinate* | *Schema Element* |
22452245
| ------------------ | -------------------------------- | ----------------------------------------------------------------------- |
22462246
| Named Type | `Business` | `Business` type |
2247-
| Type Field | `Business.name` | `name` field on the `Business` type |
2247+
| Field | `Business.name` | `name` field on the `Business` type |
22482248
| Input Field | `SearchCriteria.filter` | `filter` input field on the `SearchCriteria` input object type |
22492249
| Enum Value | `SearchFilter.OPEN_NOW` | `OPEN_NOW` value of the `SearchFilter` enum |
22502250
| Field Argument | `Query.searchBusiness(criteria:)`| `criteria` argument on the `searchBusiness` field on the `Query` type |

0 commit comments

Comments
 (0)