Make struct and union serializable
It would be nice if golo struct and union types could be serializable.
Not too hard either 😄
hence the “newcomer” label :smile:
Hi @yloiseau , Could you guide me how to get going on the issue.
Hi @imshashwataggarwal. If you're not familiar with Java serialization process, you can check Discover the secrets of the Java Serialization API.
Basically, the struct generated classes must implement Serializable. A serialVersionUID should be generated, e.g. from the hash of GoloStruct and the struct members.
Another aspect is the transient fields. Maybe a convention based name (like for private ones, e.g. prefixing a transient field with __) would be enough.