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
I'm not sure if this is a bug or intended behavior, but it would be really great if it was possible to still use #[derive(Deserialize)] on an Enum inside of an Enum.
The text was updated successfully, but these errors were encountered:
Firstly, thank you for your work on this crate! It's very helpful & useful. 😃
Currently, the following will not compile with Nestify:
But, if I change it to this, it does work (which, as far as I can tell, should be the same thing):
This would work theoretically, but I have a custom deserialization already defined for
ItemCategory
, so it won't work for my use-case:I'm not sure if this is a bug or intended behavior, but it would be really great if it was possible to still use
#[derive(Deserialize)]
on an Enum inside of an Enum.The text was updated successfully, but these errors were encountered: