@@ -2234,8 +2234,7 @@ non-leaf nodes within a _schema coordinate_ cannot be found in the {schema}.
22342234TypeCoordinate : Name
22352235
223622361. Let {typeName } be the value of {Name }.
2237- 2. Return the type in the {schema } named {typeName }, or {null } if no such type
2238- exists .
2237+ 2. Return the type in the {schema } named {typeName } if it exists .
22392238
22402239MemberCoordinate : Name . Name
22412240
@@ -2245,16 +2244,13 @@ MemberCoordinate : Name . Name
22452244 Interface type .
224622454. If {type } is an Enum type :
22472246 1. Let {enumValueName } be the value of the second {Name }.
2248- 2. Return the enum value of {type } named {enumValueName }, or {null } if no
2249- such value exists .
2247+ 2. Return the enum value of {type } named {enumValueName } if it exists .
225022485. Otherwise , if {type } is an Input Object type :
22512249 1. Let {inputFieldName } be the value of the second {Name }.
2252- 2. Return the input field of {type } named {inputFieldName }, or {null } if no
2253- such input field exists .
2250+ 2. Return the input field of {type } named {inputFieldName } if it exists .
225422516. Otherwise :
22552252 1. Let {fieldName } be the value of the second {Name }.
2256- 2. Return the field of {type } named {fieldName }, or {null } if no such field
2257- exists .
2253+ 2. Return the field of {type } named {fieldName } if it exists .
22582254
22592255ArgumentCoordinate : Name . Name ( Name : )
22602256
@@ -2265,23 +2261,21 @@ ArgumentCoordinate : Name . Name ( Name : )
226522615. Let {field } be the field of {type } named {fieldName }.
226622626. Assert : {field } must exist .
226722637. Let {fieldArgumentName } be the value of the third {Name }.
2268- 8. Return the argument of {field } named {fieldArgumentName }, or {null } if no
2269- such argument exists .
2264+ 8. Return the argument of {field } named {fieldArgumentName } if it exists .
22702265
22712266DirectiveCoordinate : @ Name
22722267
227322681. Let {directiveName } be the value of {Name }.
2274- 2. Return the directive in the {schema } named {directiveName }, or {null } if no
2275- such directive exists .
2269+ 2. Return the directive in the {schema } named {directiveName } if it exists .
22762270
22772271DirectiveArgumentCoordinate : @ Name ( Name : )
22782272
227922731. Let {directiveName } be the value of the first {Name }.
228022742. Let {directive } be the directive in the {schema } named {directiveName }.
228122753. Assert : {directive } must exist .
228222764. Let {directiveArgumentName } be the value of the second {Name }.
2283- 5. Return the argument of {directive } named {directiveArgumentName }, or { null }
2284- if no such argument exists .
2277+ 5. Return the argument of {directive } named {directiveArgumentName } if it
2278+ exists .
22852279
22862280**Examples **
22872281
0 commit comments