-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Feat reducer payload #10381
base: 4.x
Are you sure you want to change the base?
Feat reducer payload #10381
Conversation
You need to update the documentation, add unit tests and stories for this new feature to be reviewed. Besides, removing whitelisting of query parameters is a red line that we don't want to cross. |
Thanks for you quick response!
I guessed so. But developers can not achieve cursor based pagination unless passing custom parameters into Or is there any plan for the cursor based pagination officially? |
They can since v5.2.0, and the support for response metadata (cf #10179). You can add You'll need to build an end-to-end Story to demonstrate that your approach satisfies the requirements for cursor-based pagination. Also, I noticed you PRed against branch |
Thanks for this information. I PRed to But I will try |
Is there a chance you'll complete this PR in the short term? If not, we'll close it to clean up our backlog. |
Hey @mytharcher. Do you need any help on this? It'd be great to see this merged! |
@fzaninotto I still working on upgrading to v5 of our project. Maybe will take weeks. So my time for this is limited. If this need to be cleaned, go ahead to close it. I will get back if v5 not works for us.
@yoitsro Glad to have any efforts on it! Maybe you could take charge of it over. |
Problem
To pass custom parameters to
useGetList
API, such as cursor based pagination.Discussed in #1510 (comment).
Solution
useGetList
API.How To Test
Pass customized parameter from customized pagination component, such as
lastItem
. Here is example:Additional Checks
master
for a bugfix, ornext
for a featureAlso, please make sure to read the contributing guidelines.