mbraceproject / FsPickler

A fast multi-format message serializer for .NET
http://mbraceproject.github.io/FsPickler/
MIT License
325 stars 52 forks source link

Stability of binary serialization across FsPickler versions #98

Closed cmeeren closed 6 years ago

cmeeren commented 6 years ago

I'm considering using FsPickler (and binary serialization using Pickle/UnPickle? Haven't really looked into it) to share domain objects between a Xamarin mobile app and a server (the types would be defined in an assembly referenced by both the app and the server). However, if the serialization result somehow changes between different versions of FsPickler and there's no option to keep the old behavior, that means I am effectively hindered from ever upgrading FsPickler again since upgrading it in the API would break the communication with all existing mobile app installations.

I'm of course extra worried since you state in the documentation that FsPickler is not a library used with version tolerance in mind.

If the above was understandable: Would you recommend I use another binary serializer than FsPickler for the usage I described?

eiriktsarpalis commented 6 years ago

Would you recommend I use another binary serializer than FsPickler for the usage I described?

Yes.

cmeeren commented 6 years ago

Great, thanks. :)