akka/akka-core
Ver no GitHubCustom manifest naming for persistence with Jackson
Open
#30.483 aberto em 5 de ago. de 2021
1 - triagedhelp wantedt:serialization
Métricas do repositório
- Stars
- (13.277 stars)
- Métricas de merge de PR
- (Mesclagem média 17h 35m) (11 fundiu PRs em 30d)
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.