You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not guaranteed that serialization with :erlang.term_to_binary and desarialization with :erlang.binary_to_term works correctly when using different OTP versions, see ERL-431 for an example.
I suggest addressing this issue by introducing a Serializer behavior and the default implementation being the current one and shipping with the library. There should be an option for users to provide an alternative implementation of the Serializer. I don't have much knowledge on this topic, but a quick internet search suggests me msgpax or some BSON implementation could be good candidates.
The text was updated successfully, but these errors were encountered:
It is not guaranteed that serialization with
:erlang.term_to_binary
and desarialization with:erlang.binary_to_term
works correctly when using different OTP versions, see ERL-431 for an example.I suggest addressing this issue by introducing a
Serializer
behavior and the default implementation being the current one and shipping with the library. There should be an option for users to provide an alternative implementation of theSerializer
. I don't have much knowledge on this topic, but a quick internet search suggests me msgpax or some BSON implementation could be good candidates.The text was updated successfully, but these errors were encountered: