altoo-ag / akka-kryo-serialization

Kryo-based serialization for Akka
Apache License 2.0
241 stars 73 forks source link

Provide enumeration serializer using name instead of ordinal #279

Closed nvollmar closed 2 years ago

nvollmar commented 2 years ago

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.