akka/akka-core

Custom manifest naming for persistence with Jackson

開放

#30,483 建立於 2021年8月5日

 (5 則留言) (0 個反應) (0 位負責人)Scala (3,547 個分叉)batch import
1 - triagedhelp wantedt:serialization

倉庫指標

星標
 (13,277 顆星)
PR 合併指標
 (平均合併 8天 19小時) (30 天內合併 10 個 PR)

描述

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.

貢獻者指南