We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Nested pagination fails to return the correct data for all parents when using a cursor. Assume the following record layout:
P1
P2
P3
Setting a cursor on C5 with a query like:
findManyP(...) { C(cursor: { id: "C5" }) ... })
The expected data (because the cursor only applies to P2) of the query above would be:
P1 { <no Cs> } P2 { C5, C6 } P3 { <no Cs> }
However, due to the way we currently resolve nested records together with nested pagination, we return:
P1 { <no Cs> } P2 { C5, C6 } P3 { C7, C8, C9 }
The text was updated successfully, but these errors were encountered:
dpetrick
Successfully merging a pull request may close this issue.
Nested pagination fails to return the correct data for all parents when using a cursor. Assume the following record layout:
P1
P2
P3
Setting a cursor on C5 with a query like:
The expected data (because the cursor only applies to P2) of the query above would be:
However, due to the way we currently resolve nested records together with nested pagination, we return:
The text was updated successfully, but these errors were encountered: