Closed samreid closed 5 years ago
Some raw notes from discussion:
goal: type name should be unique
const myEnum1 = new Enumeration('A','B') const myEnum2 = new Enumeration('A','B') // gets assigned _2
We are leaning toward (1) with assertions to guard.
Currently, especially from work in phetsims/tandem#100, EnumerationIO type names have unique identifiers (their values). Further cleanup will be done in https://github.com/phetsims/phet-io/issues/1545. @samreid can this issue be closed?
Thanks, it seems this issue is ready to close.
Similar to https://github.com/phetsims/axon/issues/257