Skip to content

Commit 0fb9f1f

Browse files
yaacovCRIvanGoncharov
authored andcommitted
rename fieldNodes variable to fieldGroup
to match type
1 parent b1dceba commit 0fb9f1f

File tree

3 files changed

+84
-84
lines changed

3 files changed

+84
-84
lines changed

src/execution/collectFields.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export function collectSubfields(
8787
variableValues: { [variable: string]: unknown },
8888
operation: OperationDefinitionNode,
8989
returnType: GraphQLObjectType,
90-
fieldNodes: FieldGroup,
90+
fieldGroup: FieldGroup,
9191
): FieldsAndPatches {
9292
const subFieldNodes = new AccumulatorMap<string, FieldNode>();
9393
const visitedFragmentNames = new Set<string>();
@@ -98,7 +98,7 @@ export function collectSubfields(
9898
patches: subPatches,
9999
};
100100

101-
for (const node of fieldNodes) {
101+
for (const node of fieldGroup) {
102102
if (node.selectionSet) {
103103
collectFieldsImpl(
104104
schema,

0 commit comments

Comments
 (0)