-
Notifications
You must be signed in to change notification settings - Fork 597
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
dns: clean up ListDNSRecordsParams and actually support tags for searching #1173
Conversation
changelog detected ✅ |
Codecov Report
@@ Coverage Diff @@
## master #1173 +/- ##
==========================================
- Coverage 49.40% 49.30% -0.10%
==========================================
Files 127 128 +1
Lines 12290 12408 +118
==========================================
+ Hits 6072 6118 +46
- Misses 4840 4886 +46
- Partials 1378 1404 +26
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
1325f89
to
c4598c1
Compare
5dfa991
to
15b1545
Compare
there are two different uses for tags; with and without predicates. the first, without, is the simple one where we can do things like the second and more difficult one is for predicates (like |
@jacobbednarz Got it. Thanks. Then I think this PR correctly implements the basic mode (without predicates). |
👍 that's totally fine. the non-predicates are shorthand so we can extend the more advance operations later in if needed. |
This functionality has been released in v0.59.0. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
Description
This is the sequel to #1170 to clean up
ListDNSRecordsParams
.Has your change been tested?
My (free) Cloudflare plan cannot test the new features
tag-match
andtag
enabled by this PR. Otherwise, this PR passes the minimum test case, which barely tests the tags beyond mocking.@jacobbednarz @janik-cloudflare Help is needed to confirm the "real" behavior of tags.
Types of changes
What sort of change does your code introduce/modify?
Previously,
tags
was listed as a parameter but the URL parameter name wastags
, which should have beentag
.The parameter
tag-match
is added.All the fields not documented in the public API are removed except
Priority
.Checklist: