Skip to content

Commit

Permalink
add missing cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
tylernisonoff committed Jan 22, 2025
1 parent 3decff7 commit 47b1d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/strawberry_sqlalchemy_mapper/mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ async def resolve(self, info: Info):
outputs = await end_relationship_resolver(in_between_objects, info)
if not isinstance(outputs, collections.abc.Iterable):
return outputs
edges = [edge_type(node=obj) for obj in outputs]
edges = [edge_type(node=obj, cursor=None) for obj in outputs]
return connection_type(edges=edges,
page_info=relay.PageInfo(
has_next_page=False,
Expand Down

0 comments on commit 47b1d71

Please sign in to comment.