-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Nested struct #15
Comments
This is interesting but potentially might actually call for storing this configuration in medium that supports representing more complex structures like yaml/json/ect. envy if focused a more on flat key => value ( env style ) configuration. it seems like you may be wanting keya => keyb => keyc => value. Which is totally fine but not typically the kind format that envy is focused on. That said, I would be open to a pr for this if you're up for it if you have an idea of what you'd be looking for. |
What I want it can be easy done with |
I'm happy to take prs but it seems you've found a pathway. Thanks for reaching out. I'll take a look at the flatten attr |
Dropping a note here for now for future folks that fall apon this issue https://serde.rs/attr-flatten.html |
Is possible to de-serialize above? I would expected to work this as
A_U=5
A_Y="Test"
orA=U=5,y=Test
but it don't.The text was updated successfully, but these errors were encountered: