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
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.
The text was updated successfully, but these errors were encountered:
Jasha10
changed the title
Document custom_constructor flag
Document custom_constructor and create_empty flags
Jan 15, 2024
PR #228 implemented flag
#[builder(custom_constructor)]
and#[builder(create_empty)]
. My understanding is that this flag causesderive(Builder)
to opt out of implementingDefault
. I'm not clear on whatcreate_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.
The text was updated successfully, but these errors were encountered: