-
Notifications
You must be signed in to change notification settings - Fork 593
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
Update pagination to compute current page based off total_count #1372
Update pagination to compute current page based off total_count #1372
Conversation
…ix pagination for a few Access Resources
changelog detected ✅ |
@jacobbednarz tbh I'm a little hesitant on the new commit about changing I think its the correct fix, since |
iirc, the test data came from the old API docs which didn't have real validation so it may have been incorrect the entire time. I think fixing the tests here is the right move if we've uncovered issues. |
it's worth noting, we also don't have thorough impossible logic checks for pagination which we could firm that up but I suspect there are some services that have a misunderstanding of all the result info fields so it may be better to fix to be more clear instead. (the second part is already something we are speaking about internally too) |
Codecov Report
@@ Coverage Diff @@
## master #1372 +/- ##
========================================
Coverage 48.33% 48.34%
========================================
Files 133 139 +6
Lines 13023 13749 +726
========================================
+ Hits 6295 6647 +352
- Misses 5201 5453 +252
- Partials 1527 1649 +122
|
thanks for this! |
This functionality has been released in v0.76.0. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
Also fixes pagination for a few Access Resources
Description
In terraform, if you try to use the Access Application Resource in a datasource it will fail to find the app because the List function will only check the first page.
Has your change been tested?
Unit tests and a local reproduction of the original issue that is now resolved.
Types of changes
What sort of change does your code introduce/modify?
Checklist:
and relies on stable APIs.