Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Generated Static enums #720
protobuf.js version: <6.6.5>
What happened to the reverse entries for the generated enums in the static code? I liked that feature.
By reverse I mean, the generated code used to look like
values[valuesById = "NOT_SPECIFIED"] = 0; values[valuesById = "GET_MISSION"] = 102;
and now looks like
values["NOT_SPECIFIED"] = 0; values["GET_MISSION"] = 102;
It should still emit that, except if it is an aliased key.
Isn't this working?