From 5cb3ea0fe68970e7911e110a97c53ac22477350e Mon Sep 17 00:00:00 2001 From: Yaacov Rydzinski Date: Mon, 15 May 2023 12:15:03 +0300 Subject: [PATCH] executeFields: update grouped field set variable name --- src/execution/execute.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/execution/execute.ts b/src/execution/execute.ts index 8c3df9f265..0c68760da2 100644 --- a/src/execution/execute.ts +++ b/src/execution/execute.ts @@ -639,14 +639,14 @@ function executeFields( parentType: GraphQLObjectType, sourceValue: unknown, path: Path | undefined, - fields: GroupedFieldSet, + groupedFieldSet: GroupedFieldSet, incrementalDataRecord?: IncrementalDataRecord | undefined, ): PromiseOrValue> { const results = Object.create(null); let containsPromise = false; try { - for (const [responseName, fieldGroup] of fields) { + for (const [responseName, fieldGroup] of groupedFieldSet) { const fieldPath = addPath(path, responseName, parentType.name); const result = executeField( exeContext,