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
{{ message }}
This repository has been archived by the owner on May 7, 2024. It is now read-only.
Two things are flawed with the current implementation:
deserializing tuples just fails (since it delegates to deserialize_seq which expects a list. This is an easy problem to "solve" though it leaves much to be desired. Updated to just deserialize to a list in 51ccd12
we cannot deserialize "anonymous" enums or structs at all (using serde-transcode):
the first thing it does is call deserialize_any on the provided Deserializer
its passes a Visitor impl that doesn't implement a visit_enum method
even if it did, it eventually will call a method on the associated (i.e. our) Serializer like serialize_unit_variant, which requires &'static str, which the Visitor (probably?) cannot provide
The text was updated successfully, but these errors were encountered:
sunny-g
changed the title
Fix deserialize_any
Fix deserialize_any and serde-transcode support
Jun 8, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Two things are flawed with the current implementation:
deserializing tuples just fails (since it delegates toUpdated to just deserialize to a list in 51ccd12deserialize_seq
which expects a list. This is an easy problem to "solve" though it leaves much to be desired.serde-transcode
):deserialize_any
on the providedDeserializer
visit_enum
methodSerializer
likeserialize_unit_variant
, which requires&'static str
, which the Visitor (probably?) cannot provideThe text was updated successfully, but these errors were encountered: