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?