Skip to content

Conversation

jcready
Copy link
Contributor

@jcready jcready commented Jul 6, 2023

Fixes: #37 and #537

*
* [3] the options for the enum and enum values (optional)
*/
export type EnumInfo = readonly [
Copy link
Contributor Author

@jcready jcready Aug 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a rather unfortunate structure compared to the MessageInfo. Maybe in v3 this can be updated to an object instead of an array/tuple.

@fython
Copy link

fython commented Jan 12, 2024

May I know the latest status of this PR? I think these cool changes can bring benefits to many projects. I am trying to add description text by enum value options for some protobuf enum defined for objects status, and I read these options value in order to show on pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Enum / Enum value options
2 participants