Skip to content

Commit 1a96cfd

Browse files
committed
Rename field_nodes variable to field_group
Replicates graphql/graphql-js@0fb9f1f
1 parent f4d5501 commit 1a96cfd

File tree

4 files changed

+94
-94
lines changed

4 files changed

+94
-94
lines changed

src/graphql/execution/collect_fields.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def collect_subfields(
9393
variable_values: dict[str, Any],
9494
operation: OperationDefinitionNode,
9595
return_type: GraphQLObjectType,
96-
field_nodes: FieldGroup,
96+
field_group: FieldGroup,
9797
) -> FieldsAndPatches:
9898
"""Collect subfields.
9999
@@ -112,7 +112,7 @@ def collect_subfields(
112112
sub_patches: list[PatchFields] = []
113113
sub_fields_and_patches = FieldsAndPatches(sub_field_nodes, sub_patches)
114114

115-
for node in field_nodes:
115+
for node in field_group:
116116
if node.selection_set:
117117
collect_fields_impl(
118118
schema,

0 commit comments

Comments
 (0)