Is Validation Fail serializable? #1178
-
Hi, I am trying to use MS Orleans along with Language Ext. The actors (grains) from MS Orleans basically serialize before returning values to outside callers. I would think the validation is serializable either way. But for some reasons I can return Success just fine, but not Fail. Validation uses Seq to store Errors. I am not sure it matters but Seq is not marked as serializable. Can anyone help me understand why this is happening? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This question can be closed. I found out a little more about this question. It is more about how MS Orleans serializes a foreign type. There need to be additional steps for MS Orleans to serialize a foreign type with state of internal type. For instance, the state of |
Beta Was this translation helpful? Give feedback.
This question can be closed.
I found out a little more about this question. It is more about how MS Orleans serializes a foreign type. There need to be additional steps for MS Orleans to serialize a foreign type with state of internal type. For instance, the state of
Map<K, V>
has the typeMapInternal
and it is not exposed to outside Language-Ext. I just noticed the Echo project next door is also a cool Actor implementation and plan to learn more about it.