Skip to content

Commit

Permalink
executeFields: update grouped field set variable name (graphql#3896)
Browse files Browse the repository at this point in the history
missed by me both in graphql#3891 and graphql#3878
  • Loading branch information
yaacovCR committed May 16, 2023
1 parent d75872f commit e17a089
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/execution/execute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -639,14 +639,14 @@ function executeFields(
parentType: GraphQLObjectType,
sourceValue: unknown,
path: Path | undefined,
fields: GroupedFieldSet,
groupedFieldSet: GroupedFieldSet,
incrementalDataRecord?: IncrementalDataRecord | undefined,
): PromiseOrValue<ObjMap<unknown>> {
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,
Expand Down

0 comments on commit e17a089

Please sign in to comment.