mbraceproject / FsPickler

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

Do not change binary format all the time #57

Closed vasily-kirichenko closed 8 years ago

vasily-kirichenko commented 8 years ago

It's very painful, especially considering that other packages like Suave depend on FsPickler and updating them causes FsPickler update, which in turn causes huge problems on production, when we have serialized data which should be readable by next release of our system.

eiriktsarpalis commented 8 years ago

I'm sorry to hear that, but using FsPickler to persist data is a bad choice in the first place. It's been not been designed with version tolerance considerations in mind. If you need to keep FsPickler for this type of usage, either commit to a specific version in production (perhaps forcing it on other libs by means of binding redirects) or use version tolerant, custom pickler declarations for the types that you are serializing.