Skip to content

Commit ee65a31

Browse files
committed
Now that I think of it, field_map is the same as field.
1 parent 5a7bee4 commit ee65a31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphql/core/execution/executor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ def _execute_operation(self, ctx, root, operation, execute_serially):
8181
if operation.operation == 'mutation' or execute_serially:
8282
execute_serially = True
8383

84-
field_map = DefaultOrderedDict(list) if execute_serially else collections.defaultdict(list)
85-
fields = collect_fields(ctx, type, operation.selection_set, field_map, set())
84+
fields = DefaultOrderedDict(list) if execute_serially else collections.defaultdict(list)
85+
fields = collect_fields(ctx, type, operation.selection_set, fields, set())
8686

8787
if execute_serially:
8888
return self._execute_fields_serially(ctx, type, root, fields)

0 commit comments

Comments
 (0)