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
279279 4 . Otherwise if {type} is an Input Object type:
280280 1 . Let {inputFieldName} be the value of the second {Name}.
281281 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}.
285286
286287SchemaCoordinate: Name . Name ( Name : )
287288 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:
383384| `Address` | `Address` interface |
384385| `Address.city` | `city` field on the `Address` interface |
385386| `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 |
387388| `Entity` | `Entity` union definition |
388389| `DateTime` | Custom `DateTime` scalar type |
389390| `String` | Built-in `String` scalar type |
You can’t perform that action at this time.
0 commit comments