Skip to content

Commit 385f803

Browse files
committed
path fixes
1 parent 633a8a2 commit 385f803

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

graphql/execution/executor.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ def execute_field_callback(results, response_name):
132132
exe_context,
133133
parent_type,
134134
source_value,
135-
field_asts
135+
field_asts,
136+
None
136137
)
137138
if result is Undefined:
138139
return results
@@ -193,8 +194,7 @@ def map_result(data):
193194

194195
for response_name, field_asts in fields.items():
195196

196-
result = subscribe_field(exe_context, parent_type,
197-
source_value, field_asts)
197+
result = subscribe_field(exe_context, parent_type, source_value, field_asts)
198198
if result is Undefined:
199199
continue
200200

@@ -297,7 +297,8 @@ def subscribe_field(exe_context, parent_type, source, field_asts):
297297
root_value=exe_context.root_value,
298298
operation=exe_context.operation,
299299
variable_values=exe_context.variable_values,
300-
context=context
300+
context=context,
301+
path=[field_name]
301302
)
302303

303304
executor = exe_context.executor

0 commit comments

Comments
 (0)