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
Hey! I love how simple this library is and wanted to use it on something I'm writing. I came across something I got confused about and wanted to know if there was a way I wasn't immediately obvious to.
Specifically, I have an option value that I would expect to get parsed in a bit different of a way:
Is there a current way to do this? Also willing to contribute and add this functionality if you point me to the right places and think it's a doable feature.
The text was updated successfully, but these errors were encountered:
clintjedwards
changed the title
Mapping options correctly
Mapping options to nested structs
Jun 18, 2022
Hey! I love how simple this library is and wanted to use it on something I'm writing. I came across something I got confused about and wanted to know if there was a way I wasn't immediately obvious to.
Specifically, I have an option value that I would expect to get parsed in a bit different of a way:
For example, I have:
Specifically for parsing of
config: Option<InnerConfig>
, while I understand why it works the way it does due to the documentation:Instead of this:
I would love to be able to do this:
Is there a current way to do this? Also willing to contribute and add this functionality if you point me to the right places and think it's a doable feature.
The text was updated successfully, but these errors were encountered: