altoo-ag/akka-kryo-serialization

Provide enumeration serializer using name instead of ordinal

nvollmar opened this issue · 0 comments

Java/Scala 3 enums are serialized by name instead of ordinal to prevent reordering of entries breaking the serialization.

The default EnumerationSerializer is using the ordinal (index) instead and should be replaced mid term with an EnumerationNameSerializer.