Cratis / Chronicle

Event Sourcing database built with ease of use, productivity, compliance and software evolution in mind.
https://cratis.io
MIT License
25 stars 5 forks source link

Move away from JSON serialization for grain communication #898

Open einari opened 1 year ago

einari commented 1 year ago

With the upgrade to version 7 of Orleans we decided to go with the new System.Text.Json support for serialization. This is due to some types needing specific converters or serializer implementations if we were to use the default one. In the interest of moving forward, we take on this as a deliberate technical debt that we will return to, as it looks like it involves quite a bit of work to get everything using the new Protobuf based serializers for every type we have.

See SerializationConfigurationExtensions.cs for the configuration.

einari commented 1 month ago

For instance, we should implement a specific serializer for Concepts.