Skip to content

Document custom_constructor and create_empty flags #304

@Jasha10

Description

@Jasha10

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions