Skip to content

Commit 8763fd7

Browse files
authored
Edit: fieldType may not be defined, but will never be null (#433)
1 parent 15b8b40 commit 8763fd7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

spec/Section 6 -- Execution.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -319,10 +319,9 @@ ExecuteSelectionSet(selectionSet, objectType, objectValue, variableValues):
319319
* Let {fieldName} be the name of the first entry in {fields}.
320320
Note: This value is unaffected if an alias is used.
321321
* Let {fieldType} be the return type defined for the field {fieldName} of {objectType}.
322-
* If {fieldType} is {null}:
323-
* Continue to the next iteration of {groupedFieldSet}.
324-
* Let {responseValue} be {ExecuteField(objectType, objectValue, fields, fieldType, variableValues)}.
325-
* Set {responseValue} as the value for {responseKey} in {resultMap}.
322+
* If {fieldType} is defined:
323+
* Let {responseValue} be {ExecuteField(objectType, objectValue, fields, fieldType, variableValues)}.
324+
* Set {responseValue} as the value for {responseKey} in {resultMap}.
326325
* Return {resultMap}.
327326

328327
Note: {resultMap} is ordered by which fields appear first in the query. This

0 commit comments

Comments
 (0)