Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 16, 2024. It is now read-only.

Conversation

@meyerjrr
Copy link
Contributor

@meyerjrr meyerjrr commented Aug 2, 2023

What changed?

Fixes a bug where pagination repeats pages for larger datasets

Why?

How did you test it?

Potential risks

Is patch release candidate?

Link to relevant docs PRs

// setNextToken(tokenStack[pageIndex + 1]);
// } else {
setNextToken(data.next);
// }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the offending code. It was pulling old pages from the tokenStack.

Commenting this out and using the page from the api fixes the issue.

@meyerjrr meyerjrr merged commit 1d786c0 into rel-v0.15.6 Aug 3, 2023
@meyerjrr meyerjrr deleted the fix-pagination-for-large-datasets branch August 3, 2023 23:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants