akkadotnet / Akka.Persistence.PostgreSql

Akka.Persistence.PostgreSql provider
Apache License 2.0
32 stars 35 forks source link

jsonb serialization snapshot manifest instead of qualified name uses manifest of SerializerWithStringManifest #171

Open rafalpiotrowski opened 1 year ago

rafalpiotrowski commented 1 year ago

Version Information Version of Akka.NET? 1.4.46

Which Akka.NET Modules? Akka.Persistance.PostgreSql 1.4.46

Describe the bug jsonb serialization snapshot manifest instead of qualified name uses manifest of SerializerWithStringManifest

Journal serialization works correctly but the snapshot is not.

Important to note that internally between cluster services protobuf serialization is used but only DB is using JSONB

Snapshot: "market_394870" 1 638060916971832421 "mstate" "{""Data"": {""Name"": ...

Journal: "market_394870" 1 false 638060916970892832 "Markets.Events.MarketCreated, Markets" "{""Market"": {""Name"": ...