-
Notifications
You must be signed in to change notification settings - Fork 142
make value roundtrip #578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
make value roundtrip #578
Conversation
|
honestly, after having passed way to much time on this, i think its just not possible. But,
So we are cooked. I wonder if a language succeed to do this. Maybe i can be proven wrong. I think we just need another method on fn enum_type(&self) -> Option<EnumType>;
enum EnumType {
Unit,
NewType,
Tuple,
Struct
} |
|
Thank you for exploring it further @wiiznokes! I personally think that many improvements are still blocked on serde, perhaps we can come back to this once ron is given more agency in deserialising data without type information |
|
Another solution could be to not implement |
previous pr: #553
todo:
handle_any_structvisit_enumSerializeforValueCHANGELOG.md