-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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(get): propagate next page size param #9029 #9503
Conversation
Great Job, Thank you Jackson. Because I am not familiar with admin api, I think that we need others to take a look then approve. |
Thanks @chronolaw. This is OK. could you tag a sponsor to review? I do not know them. Do you need to remove your change request? |
@mayocream would you be on the admin api team for review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, although it’s a small change, but a proper test case should be written to ensure the functionality works.
Thanks for your feedback @mayocream!!! I searched the admin_api tests for next_page validators but couldn't find them. I believe there is no validation on this return, if I am wrong please correct me. Do you have any validation suggestions for this scenario? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be in this format:
< local next_page = offset and fmt("/%s?offset=%s%s",
---
> local next_page = offset and fmt("/%s?offset=%s%s%s",
I think this would be a feature (although very small); I'll include @sumimakito in this topic to see if it is good for Kong Manager (UI). |
@jacksjm Thank you for your work 🙌 |
d072cf8
to
313c389
Compare
@jacksjm Thanks for the contribution, this is now merged 🎉 ! |
I'm very glad to contribute!!! |
Summary
Fixed to propagate size parameter to perform next request
Full changelog
Issue reference
Fix #9029