Skip to content

Allow builder_struct_attr to set attributes before #[derive(...)] #323

Description

@mmarkmos

I use this lib to have "duplicates" of my structs where each field is Optional for serde. I want use skip_serializing_none macro so that I don't have to repeat #[builder_field_attr(serde(skip_serializing_if = "Option::is_none"))] on every field. But this attribute has to be set before the derive to work.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions