Skip to content

Commit 0d1297a

Browse files
authored
execute: fix spec section names in comments (#3376)
1 parent be12613 commit 0d1297a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/execution/execute.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ function executeFields(
472472
}
473473

474474
/**
475-
* Implements the "Executing field" section of the spec
475+
* Implements the "Executing fields" section of the spec
476476
* In particular, this function figures out the value that the field returns by
477477
* calling its resolve function, then calls completeValue to complete promises,
478478
* serialize scalars, or execute the sub-selection-set for objects.
@@ -594,7 +594,7 @@ function handleFieldError(
594594

595595
/**
596596
* Implements the instructions for completeValue as defined in the
597-
* "Field entries" section of the spec.
597+
* "Value Completion" section of the spec.
598598
*
599599
* If the field type is Non-Null, then this recursively completes the value
600600
* for the inner type. It throws a field error if that completion returns null,

0 commit comments

Comments
 (0)