-
Notifications
You must be signed in to change notification settings - Fork 89
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
Overriding cursor throws warning #152
Comments
Looks like the possibility of overriding the default cursor was removed after a discussion: #109 (comment) So perhaps outdated module doc. |
I think there are some strong arguments for why we should have the ability to override cursors. Here is why:
I personally have a project involving both of the above issues. Is there a current workaround for overriding cursors? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As per the documentation - https://hexdocs.pm/absinthe_relay/Absinthe.Relay.Connection.html
If we provide a
:cursor
argument then the value should override the internally generated cursor.But, It's throwing a warning:
[warn] Ignoring additional cursor provided on edge (overriding is not allowed)
And the warning is as per the code:
absinthe_relay/lib/absinthe/relay/connection.ex
Line 582 in 643a9c4
Is this an outdated document or am I doing it wrong?
The text was updated successfully, but these errors were encountered: