Skip to content

Commit d2d32c8

Browse files
committed
rename fieldNodes variable to fieldGroup
to match type
1 parent 8c5db67 commit d2d32c8

3 files changed

Lines changed: 66 additions & 66 deletions

File tree

src/execution/collectFields.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ export function collectSubfields(
6868
fragments: ObjMap<FragmentDefinitionNode>,
6969
variableValues: { [variable: string]: unknown },
7070
returnType: GraphQLObjectType,
71-
fieldNodes: FieldGroup,
71+
fieldGroup: FieldGroup,
7272
): Map<string, FieldGroup> {
7373
const subFieldNodes = new AccumulatorMap<string, FieldNode>();
7474
const visitedFragmentNames = new Set<string>();
75-
for (const node of fieldNodes) {
75+
for (const node of fieldGroup) {
7676
if (node.selectionSet) {
7777
collectFieldsImpl(
7878
schema,

0 commit comments

Comments
 (0)