Skip to content

Commit

Permalink
execute: fix spec section names in comments (#3376)
Browse files Browse the repository at this point in the history
  • Loading branch information
twof committed Nov 23, 2021
1 parent be12613 commit 0d1297a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/execution/execute.ts
Expand Up @@ -472,7 +472,7 @@ function executeFields(
}

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

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

0 comments on commit 0d1297a

Please sign in to comment.