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

filter/firewall_rules: update methods to automatically paginate #1004

Conversation

jacobbednarz
Copy link
Member

@jacobbednarz jacobbednarz commented Jul 21, 2022

Updates the filter and firewall rule methods to automatically paginate
all results unless PerPage and Page are provided.

Closes #720

Updates the filter and firewall rule methods to automatically paginate
all results unless `PerPage` and `Page` are provided.
@github-actions
Copy link
Contributor

changelog detected ✅

@codecov-commenter
Copy link

Codecov Report

Merging #1004 (d7c6d6f) into master (401e1c1) will increase coverage by 0.13%.
The diff coverage is 72.36%.

@@            Coverage Diff             @@
##           master    #1004      +/-   ##
==========================================
+ Coverage   48.93%   49.06%   +0.13%     
==========================================
  Files         108      108              
  Lines       10385    10426      +41     
==========================================
+ Hits         5082     5116      +34     
- Misses       4195     4198       +3     
- Partials     1108     1112       +4     
Impacted Files Coverage Δ
rulesets.go 27.95% <ø> (ø)
firewall_rules.go 52.58% <71.05%> (+3.62%) ⬆️
filter.go 42.44% <73.68%> (+5.15%) ⬆️
pagination.go 71.42% <0.00%> (+71.42%) ⬆️

@jacobbednarz jacobbednarz merged commit 4ad0425 into cloudflare:master Jul 21, 2022
@jacobbednarz jacobbednarz deleted the pagination-for-firewall-rules-and-filters branch July 21, 2022 01:27
@github-actions github-actions bot added this to the v0.46.0 milestone Jul 21, 2022
github-actions bot pushed a commit that referenced this pull request Jul 21, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Aug 2, 2022

This functionality has been released in v0.46.0.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

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.

None yet

2 participants