-
Notifications
You must be signed in to change notification settings - Fork 75
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
PageHelper.nextPage() fails to handle the final page #679
Comments
Internal ticket number is FE-3288 |
Possibly relevant detail. This behavior was happening when all the data fit into a single page. I wasn't able to test if data that spanned multiple pages works because of #680 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using
PageHelper.nextPage()
(code here), the final page isn't handled correctly. Internally, the helper fails to mutate its state if theafter
cursor isundefined
. This meansnextPage()
endlessly repeats querying and returning the final page rather than indicating that there are no more pages left.The text was updated successfully, but these errors were encountered: