akkadotnet / Akka.Persistence.PostgreSql

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

npgsql driver now supports returning jobject directly instead of stri… #267

Closed oyzar closed 3 months ago

oyzar commented 3 months ago

…ng if newtonsoft json is enabled for jsonb

Fixes #266

Changes

npgsql driver now supports returning jobject directly instead of string if newtonsoft json is enabled for jsonb

Arkatufus commented 3 months ago

It turns out that the underlying issue was caused by a breaking change between Npgsql v8 and Npgsql.Json.NET.

Making this change inside Akka.Persistence.PostgreSql is risky as it changes the behavior of the plugin for all users and making this backward compatible requires more engineering work that we could not spare at this moment, as the plugin itself is nearing its end of life.

Please consider switching to Akka.Persistence.Sql and changing your storage type to ByteA.