fix: use correct Rust variant name for enum aliases#94
fix: use correct Rust variant name for enum aliases#94jstarks wants to merge 1 commit intoinfluxdata:mainfrom
Conversation
This change fixes code generation of protobuf enums when aliases are present.
|
Closed by #103 |
|
Won't #103 just ignore the aliases in deserialize? This seems incomplete and will lead to deserialization failures. |
That is a valid point, I would be happy to review a PR to address this aspect and add a corresponding test for it |
|
This PR addressed addressed that aspect, but it didn't add an explicit test. Unfortunately, I am having trouble getting the CLA signed, so it might be better to reimplement this (small) change. |
|
I can take a look at this gap in a bit since I don't have any limitations with respect to the CLA. |
|
@sporkmonger @tustvold did the follow up needed here happen, or is this still an issue? |
This change fixes code generation of protobuf enums when aliases are present.