Skip to content
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

feat(derive): Add nested opt #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jungnitz
Copy link

Hi Ben,

thank you for this crate! In my project I have some Partial structs with fields that are Partial as well. Therefore, I implemented a way to use the Partial::Item type in the generated struct and call apply_some on the field in the implementation via a new nested attribute.

@bengreenier
Copy link
Owner

Thanks @jungnitz this looks neat - I need to review it properly, but will hopefully have time for that this weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants