Skip to content

Enums are not defined as macros #229

@artman41

Description

@artman41

During development using a shared proto, if a proto Enum is renamed but index is the same as the previous version of that enum compilation will not current fail.

If a message has a field renamed, you would notice as the compilation would fail due to a record field no longer existing.

Ideally, the atoms generated by the Enum definitions would be implemented as -define(ENUM, 'ENUM') so that compilation would fail if the field was renamed.

Would it be possible to have this implemented?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions