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

Document custom_constructor and create_empty flags #304

Open
Jasha10 opened this issue Jan 15, 2024 · 0 comments
Open

Document custom_constructor and create_empty flags #304

Jasha10 opened this issue Jan 15, 2024 · 0 comments

Comments

@Jasha10
Copy link

Jasha10 commented Jan 15, 2024

PR #228 implemented flag #[builder(custom_constructor)] and #[builder(create_empty)]. My understanding is that this flag causes derive(Builder) to opt out of implementing Default. I'm not clear on what create_empty is for.

It would be nice to have some reference documentation for these flags in the readme and/or in the docs.
The flags do appear in the examples folder.

@Jasha10 Jasha10 changed the title Document custom_constructor flag Document custom_constructor and create_empty flags Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants