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

implement the feature for skipping default and optional fields #5

Merged
merged 1 commit into from Aug 21, 2022

Conversation

maminrayej
Copy link
Owner

implements the #[builder(skip)] attribute. This attribute allows skipping of optional and default fields meaning there will be no setters generated for these fields. Optional fields will be set to None and default fields will be set to their default values.

@maminrayej maminrayej merged commit 1021921 into main Aug 21, 2022
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.

None yet

1 participant