Skip to content

Commit

Permalink
pass op to engine in async endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
kindermax committed Oct 7, 2022
1 parent ee4d5dc commit fe9840a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hiku/endpoint/graphql.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ async def execute(
self, graph: Graph, op: Operation, ctx: t.Optional[t.Dict]
) -> t.Dict:
stripped_query = _process_query(graph, op.query)
coro = self.engine.execute(graph, stripped_query, ctx)
coro = self.engine.execute(graph, stripped_query, ctx, op)
assert isawaitable(coro)
result = await coro
type_name = _type_names[op.type]
Expand Down

0 comments on commit fe9840a

Please sign in to comment.