Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improves default lookup of cursor values for one-level deep joins #58

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

slapers
Copy link

@slapers slapers commented Feb 21, 2019

Hi,

This PR changes the way the cursor value is fetched in the default default_fetch_cursor_value/2.
Without this change the value would be fetched without first attempting to find a association that matches the binding.
I think this matches better with the docs at https://github.com/duffelhq/paginator/blob/master/lib/paginator.ex#L228

kr,
Stefan

@maartenvanvliet
Copy link
Contributor

Would be great to get this merged!

Base automatically changed from master to main January 26, 2021 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants