rebus-org / Rebus.PostgreSql

:bus: PostgreSQL persistence for Rebus
https://mookid.dk/category/rebus
Other
17 stars 19 forks source link

Make saga serializer configurable #31

Closed mmdevterm closed 1 year ago

mmdevterm commented 1 year ago

ObjectSerializer is used in order to serialize saga data. Current implementation doesn't allow to provide JsonSerializerSettings to control the process of saga serialization.

Such option is provided in Rebus package for MSSQL (https://github.com/rebus-org/Rebus.SqlServer/issues/59, https://github.com/rebus-org/Rebus.SqlServer/pull/77)

This PR transfers the code from the MSSQL repository into this one.

Additionaly it adds a default JsonSagaSerializer that allows to use JsonSerializerSettings.


I hereby acknowledge that the code submitted in the pull request has the MIT license and can be merged with the Rebus codebase.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

mookid8000 commented 1 year ago

Excellent work! 👍 It's out as Rebus.Postgresql 8.1.0 on Nuget.org now 🙂