-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[configcompression] Standardize enums #9388
Comments
There is a lot of good history for this package here: #4651. This is actually the only PR ever made for |
My opinion is that:
which is the same as "this package doesn't need any public name changes". |
I agree
It's inconsistent with other types constants that start with the type. Ideally should be
If we leave 2 as is, I'd say we should change We can also have |
I believe this discussion came up in the original PR and
I see that this would align with |
What do you mean what else? If we have |
Ah I went looking specifically for other packages that used just |
Current situations we should finalize for enum naming:
In situation 1 should we standardize on the enum being named In situation 2, should we standardize on including or excluding |
For situation 1 my opinion is that using only For situation 2, my opinion is that we include |
I think to move forward we should add a section about enumerations in
@TylerHelmuth would you be up for filing such a PR? We can continue the discussion there much more easily and hopefully solve this question for all modules at once :) |
@mx-psi ya I can open that PR |
I think we should use |
I think |
I think we've always been using type definitions. It provides better protection from misuse. So I think we should stick with them |
**Description:** Adds expectations for how the repository handle enumerations **Link to tracking Issue:** <Issue number if applicable> Relates to #9388
**Description:** If we choose to go with the rename. **Link to tracking Issue:** <Issue number if applicable> Related to #9388 --------- Co-authored-by: Pablo Baeyens <[email protected]>
I think this was solved by #9416, right? |
Originally posted by @bogdandrutu in #6490 (comment)
The constants in
configcompression
don't fit the same pattern ascomponent.StabilityLevel
andconfigtelemetry.Level
: do theCompressionType
consts also need capitalized or are they exempt? Do any of the public members need name changes?The text was updated successfully, but these errors were encountered: