Skip to content

Generated Static enums #720

@ehallander9591

Description

@ehallander9591

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[0] = "NOT_SPECIFIED"] = 0;
            values[valuesById[102] = "GET_MISSION"] = 102;

and now looks like

            values["NOT_SPECIFIED"] = 0;
            values["GET_MISSION"] = 102;
<please paste the stack trace of the error if applicable>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions