8000 Rename field_nodes variable to field_group · graphql-python/graphql-core@1a96cfd · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Lines changed: 2 additions & 2 deletions
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)
0