-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with serializing messages with exceptions #1886
Comments
@Horusiath I've also noticed such behavior. Here is some related issues |
Btw. this is bug related specifically to Json.NET - when using Wire serializer, everything works correctly. (see how to setup a Wire serializer). |
@Horusiath your example works fine, without SurrogateConverter in JsonSerializerSettings. |
Scala version consists a separate serializer for We could do the same, but it would be a bit harder. We could use a serializer based on Or we could create a separate serializer for |
Partially fixed in #2925 only for system messages. |
@Arkatufus can you take on writing a spec for this? There are other open issues related to this one too:
There are proposals and spec ideas from other users on those issues - need to consider their designs and put something together in writing on this issue before we move forward with a PR. |
Per #3903 (comment), looks like we've had built-in support for this for some time but haven't been using it consistently outside of remote deployment scenarios. Going to close this issue and focus on #3903 are the primary implementation point for this. |
Default serializer is not able to properly serialize/deserialize messages with exceptions.
.NET version: 4.6.1
Akka.NET version: 1.0.7
Newtonsoft.Json version: 7.0.1
Example
The text was updated successfully, but these errors were encountered: