akka/akka-core
Auf GitHub ansehenCustom manifest naming for persistence with Jackson
Open
#30.483 geöffnet am 5. Aug. 2021
1 - triagedhelp wantedt:serialization
Repository-Metriken
- Stars
- (13.277 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 17h 35m) (11 gemergte PRs in 30 T)
Beschreibung
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.