Skip to content

Composite key cursor pagination#1216

Merged
tyt2y3 merged 2 commits intomasterfrom
paginate-1
Nov 14, 2022
Merged

Composite key cursor pagination#1216
tyt2y3 merged 2 commits intomasterfrom
paginate-1

Conversation

@tyt2y3
Copy link
Copy Markdown
Member

@tyt2y3 tyt2y3 commented Nov 10, 2022

Fixes #1209

Copy link
Copy Markdown
Member

@billy1624 billy1624 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting! We should extend this logic to Identity::Ternary as well

@tyt2y3
Copy link
Copy Markdown
Member Author

tyt2y3 commented Nov 10, 2022

@jacob-pro this might be all it takes?

@tyt2y3
Copy link
Copy Markdown
Member Author

tyt2y3 commented Nov 10, 2022

worthy to backport to 0.10 as well

@tyt2y3
Copy link
Copy Markdown
Member Author

tyt2y3 commented Nov 11, 2022

Would appreciate some input

@billy1624
Copy link
Copy Markdown
Member

Any thoughts? @jacob-pro @Sytten

Copy link
Copy Markdown
Member

@billy1624 billy1624 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jacob-pro
Copy link
Copy Markdown

I don't fully understand how the code works (I'm new to this library) - but the generated SQL looks correct!.
Thank you for fixing this!

@tyt2y3 tyt2y3 merged commit d082340 into master Nov 14, 2022
@tyt2y3 tyt2y3 deleted the paginate-1 branch November 14, 2022 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Composite key cursor pagination is broken

3 participants