Skip to content

[Go] Add option to WithInput() to not replace defaults with zero values #2704

Open
@apascal07

Description

@apascal07

Describe the bug
Either a WithPartialInput() or an arg to WithInput() that allows passing a subset of field values and still allowing defaults. Right now, because of how Go zero values are defined, everything gets overwritten.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or requestgo

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions