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

fix: convert limit to number #1544

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

fix: convert limit to number #1544

wants to merge 1 commit into from

Conversation

nckenn
Copy link

@nckenn nckenn commented May 11, 2024

Weird behavior coz hasNext always return false, i found out that options.limit return string since it is a strict equality i had to convert it to number.

@Shchepotin
Copy link
Collaborator

@nckenn I checked and can't reproduce this issue. How did you pass pagination options to infinityPagination? Also, how did you receive pagination options in the controller?

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.

None yet

2 participants