File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -279,9 +279,10 @@ SchemaCoordinate: Name . Name
279
279
4 . Otherwise if {type} is an Input Object type:
280
280
1 . Let {inputFieldName} be the value of the second {Name}.
281
281
2 . Return the input field of {type} named {inputFieldName}.
282
- 5 . Otherwise {type} must be an Object or Interface type:
283
- 1 . Let {fieldName} be the value of the second {Name}.
284
- 2 . Return the field of {type} named {fieldName}.
282
+ 5 . Otherwise:
283
+ 1 . Assert: {type} must be an Object or Interface type.
284
+ 2 . Let {fieldName} be the value of the second {Name}.
285
+ 3 . Return the field of {type} named {fieldName}.
285
286
286
287
SchemaCoordinate: Name . Name ( Name : )
287
288
1 . Let {typeName} be the value of the first {Name}.
@@ -383,7 +384,7 @@ The following table demonstrates how to select various kinds of schema members:
383
384
| `Address` | `Address` interface |
384
385
| `Address.city` | `city` field on the `Address` interface |
385
386
| `ReviewInput` | `ReviewInput` input object type |
386
- | `ReviewInput.author` | `author` field on the `ReviewInput` input object type |
387
+ | `ReviewInput.author` | `author` input field on the `ReviewInput` input object type |
387
388
| `Entity` | `Entity` union definition |
388
389
| `DateTime` | Custom `DateTime` scalar type |
389
390
| `String` | Built-in `String` scalar type |
You can’t perform that action at this time.
0 commit comments