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
Closeacatton#14.
I adapted the implementation from [ron-rs/ron#451](ron-rs/ron#451).
This is a workaround for Serde's internal buffer type used when deserializing via `visit_enum`.
greenhat616
added a commit
to libnyanpasu/serde-yaml-ng
that referenced
this issue
Oct 21, 2024
Closeacatton#14.
I adapted the implementation from [ron-rs/ron#451](ron-rs/ron#451).
This is a workaround for Serde's internal buffer type used when deserializing via `visit_enum`.
greenhat616
added a commit
to libnyanpasu/serde-yaml-ng
that referenced
this issue
Nov 4, 2024
Closeacatton#14.
I adapted the implementation from [ron-rs/ron#451](ron-rs/ron#451).
This is a workaround for Serde's internal buffer type used when deserializing via `visit_enum`.
Signed-off-by: Jonson Petard <41122242+greenhat616@users.noreply.github.com>
greenhat616
added a commit
to libnyanpasu/serde-yaml-ng
that referenced
this issue
Nov 4, 2024
Closeacatton#14.
I adapted the implementation from [ron-rs/ron#451](ron-rs/ron#451).
This is a workaround for Serde's internal buffer type used when deserializing via `visit_enum`.
Signed-off-by: Jonson Petard <41122242+greenhat616@users.noreply.github.com>
previous repo issue: dtolnay/serde-yaml#344
playground link: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=5149fbeb995a06e94ecb7e4508ca3b0c
And I have test it via
serde_yaml_ng::from_value::<EnumTy>::(&value)
, it report the same error too.The sample enum could be:
Besides the
#[serde(flatten)]
usage, Just pass aValue::TaggedValue
toserde_yaml::from_value
always failed.Any ideas could be shared here? Thank you.
The text was updated successfully, but these errors were encountered: