Skip to content

Commit d9a312d

Browse files
committed
executeFields: update grouped field set variable name (#3896)
missed by me both in #3891 and #3878
1 parent 3802ab1 commit d9a312d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/execution/execute.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,13 +483,13 @@ function executeFields(
483483
parentType: GraphQLObjectType,
484484
sourceValue: unknown,
485485
path: Path | undefined,
486-
fields: GroupedFieldSet,
486+
groupedFieldSet: GroupedFieldSet,
487487
): PromiseOrValue<ObjMap<unknown>> {
488488
const results = Object.create(null);
489489
let containsPromise = false;
490490

491491
try {
492-
for (const [responseName, fieldGroup] of fields) {
492+
for (const [responseName, fieldGroup] of groupedFieldSet) {
493493
const fieldPath = addPath(path, responseName, parentType.name);
494494
const result = executeField(
495495
exeContext,

0 commit comments

Comments
 (0)