Skip to content

Commit 9475dc4

Browse files
committed
executeFields: update grouped field set variable name (graphql#3896)
missed by me both in graphql#3891 and graphql#3878
1 parent 95604f6 commit 9475dc4

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
@@ -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)