-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Update ProtectionChanges to contain the remaining possible return values #2486
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
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Codecov Report
@@ Coverage Diff @@
## master #2486 +/- ##
=======================================
Coverage 98.03% 98.03%
=======================================
Files 122 122
Lines 10705 10705
=======================================
Hits 10495 10495
Misses 144 144
Partials 66 66
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
Thank you, @eolso !
Just a few minor tweaks, please.
Fixed! @gmlewis the structs for the fields |
Thank you, @eolso - I'll review this after work. Meanwhile, yes, I prefer to avoid breaking API changes if possible... and in this case I think it is probably fine to have the slight inconsistencies... so maybe reverting these two name changes would be preferable. If any other contributors have other opinions, I'm happy to discuss it. |
Agreed, "consistency" can wait. Reverted breaking changes 😄 |
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.
Thank you, @eolso !
LGTM.
Merging.
Fixes issue #2485. The
From
values only seem to come in the variants ofstring
,bool
or[]string
, so it's possible these objects could be consolidated into something more generic maybe.e.g.
This went against the current pattern so I made everything a
<Value>Changes
struct instead :D