-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Protobuf serializer for Exceptions #2925
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
Conversation
Actor = (IActorRef)info.GetValue("Actor", typeof(IActorRef)); | ||
} | ||
|
||
public override void GetObjectData(SerializationInfo info, StreamingContext context) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is mandatory method for exceptions, which contains custom properties
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
@alexvaluyskiy I'm getting compilation failures here since I rebased |
50a761e
to
a56963a
Compare
@@ -302,7 +302,7 @@ public void RemoteRouter_must_let_remote_deployment_be_overridden_by_remote_conf | |||
masterSystem.Stop(router); | |||
} | |||
|
|||
[Fact(Skip = "Serialization of custom deciders is currently not supported")] | |||
[Fact] | |||
public void RemoteRouter_must_set_supplied_SupervisorStrategy() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is working now
/// <summary> | ||
/// Initializes a new instance of the <see cref="ActorInitializationException"/> class. | ||
/// </summary> | ||
protected ActorInitializationException() | ||
public ActorInitializationException() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public constructor is mandatory for NetCore support (due to limitations of our serializer)
@heynickc MNTK tests don't want to pass. I don't know why |
@alexvaluyskiy looks like @Arkatufus has fixed it here #2936 |
No description provided.