SparkSoftware / infrastructure

A .NET framework for developing CQRS and/or Event Sourced web applications.
MIT License
0 stars 1 forks source link

SqlSnapshotStore Cannot Deserialize StateObject #7

Closed cbaxter closed 10 years ago

cbaxter commented 10 years ago

Due to a bug in JSON.NET, custom converters will not be used when deserializing a root object with a $type parameter and the object type is unknown. Opened a JSON.NET Pull Request. If PR is not merged, alternative is to create a strongly typed SnapshotState wrapper object to serialize/deserialize state.