Skip to content

Commit f67f90e

Browse files
committed
wip: cast int to str for graphql nodes
1 parent d067000 commit f67f90e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fastcs/transport/graphQL/graphQL.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def _process_commands(self, controller_api: ControllerAPI):
8484
def _process_sub_apis(self, root_controller_api: ControllerAPI):
8585
"""Recursively add fields from the queries and mutations of sub apis"""
8686
for controller_api in root_controller_api.sub_apis.values():
87-
name = "".join(controller_api.path)
87+
name = "".join([str(node) for node in controller_api.path])
8888
child_tree = GraphQLAPI(controller_api)
8989
if child_tree.queries:
9090
self.queries.append(

0 commit comments

Comments
 (0)