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

Allow fallback of pageParamKey to current input #47

Merged
merged 6 commits into from
May 24, 2023

Conversation

paul-sachs
Copy link
Collaborator

@paul-sachs paul-sachs commented May 24, 2023

Ensure that the pageParam is not overriding the pageParamKey on initial request.

I also added a paginated service to more easily test paginated APIs.

jest-preset.js Outdated Show resolved Hide resolved
@paul-sachs
Copy link
Collaborator Author

This PR is related to #47 and should address the immediate need to prevent us from overriding the page key. A follow up PR will introduce a more flexible approach to applying the pageParam.

@dimitropoulos dimitropoulos merged commit 4fe326d into main May 24, 2023
@dimitropoulos dimitropoulos deleted the psachs/default-infinite-page-param branch May 24, 2023 16:00
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.

You should be able to pass a pageParam as a default and not rely on undefined
2 participants