akka/akka-core
Custom manifest naming for persistence with Jackson
Ouverte
#30 483 ouverte le 5 août 2021
1 - triagedhelp wantedt:serialization
Métriques du dépôt
- Stars
- (13 277 étoiles)
- Métriques de merge PR
- (Merge moyen 8j 19h) (10 PRs mergées en 30 j)
Description
Full class names as manifests lead to lot of unnecessary storage overhead and leads to problems if event classes are being refactored into different packages.
It would be very helpful to be able to define custom manifest names like e.g. this:
case class @PersistenceManifest("AbcActor.Name") NameEvent(id: UUID, name: string) extends Event
Ideally, it should be checked on startup if persistence manifest names are unique within the running application.