Skip to content

Commit 0acfd26

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

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
@@ -444,13 +444,13 @@ function executeFields(
444444
parentType: GraphQLObjectType,
445445
sourceValue: unknown,
446446
path: Path | undefined,
447-
fields: GroupedFieldSet,
447+
groupedFieldSet: GroupedFieldSet,
448448
): PromiseOrValue<ObjMap<unknown>> {
449449
const results = Object.create(null);
450450
let containsPromise = false;
451451

452452
try {
453-
for (const [responseName, fieldGroup] of fields) {
453+
for (const [responseName, fieldGroup] of groupedFieldSet) {
454454
const fieldPath = addPath(path, responseName, parentType.name);
455455
const result = executeField(
456456
exeContext,

0 commit comments

Comments
 (0)