-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
refactor: remove deprecated vote option #10854
Conversation
// Deprecated: Prefer to use `options` instead. This field is set in queries | ||
// if and only if `len(options) == 1` and that option has weight 1. In all | ||
// other cases, this field will default to VOTE_OPTION_UNSPECIFIED. | ||
VoteOption option = 3 [deprecated = true]; |
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.
let's add a reserved 3
Hey, what's the status on this. Is it ready to be reviewed? |
This should be unblocked now @atheeshp. Do you mind updating the PR and resolving the conflicts so we can merge 🙏 |
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.
looks like there are a few other places that uses vote.Option
that we need to remove
Codecov Report
@@ Coverage Diff @@
## master #10854 +/- ##
==========================================
- Coverage 65.95% 65.90% -0.05%
==========================================
Files 647 677 +30
Lines 65873 68059 +2186
==========================================
+ Hits 43444 44854 +1410
- Misses 19941 20498 +557
- Partials 2488 2707 +219
|
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.
lgtm
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.
lgtm, should we add a changelog entry so client libraries are aware?
Description
Closes: #10792
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change