einride / protoc-gen-typescript-http

Generate types and service clients from protobuf definitions annotated with http rules.
MIT License
44 stars 10 forks source link

[Question] Is it possible to add option to output enum value number? #108

Open shuqingzai opened 1 year ago

shuqingzai commented 1 year ago

Now when defining an enumeration type, the code is generated, and the output is an enumeration value string. Can you support adding options to specify the number of enumeration value generation when generating code?

Thank you for open-sourcing this library, it is very useful

ericwenn commented 1 year ago

Hello @shuqingzai, this is a good suggestion, and PRs welcome for this.