Skip to content

Conversation

joshgarnett
Copy link
Contributor

To bring the Akka.Persistence module more in line with the JVM Akka implementation protobuf serialization of PersistentFSMSnapshot and StateChangeEvent classes. As PersistentFSMSnapshot uses generics, reflection is needed to properly serialize and deserialize the class.

To bring the Akka.Persistence module more in line with the JVM Akka implementation protobuf serialization of PersistentFSMSnapshot and StateChangeEvent classes.  As PersistentFSMSnapshot uses generics, reflection is needed to properly serialize and deserialize the class.
@Aaronontheweb
Copy link
Member

@joshgarnett missing API approvals

Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs some unit tests

@@ -173,7 +174,7 @@ public interface IFsmState
/// Persisted on state change
/// TODO: should implement IMessage
/// </summary>
public class StateChangeEvent
public class StateChangeEvent : IMessage
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

Added a few additional tests around the FSM serialization.
@Aaronontheweb Aaronontheweb merged commit 33dc80d into akkadotnet:dev Aug 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants