Skip to content

enable_defaults can (optionally) not roll-back on an error #16

@greglearns

Description

@greglearns

enable_defaults is awesome. Thank you!

But, is it possible to add a flag so that you can give it an invalid (or empty) object, and it would add all of the default values to the object? This would be helpful for populating a UI with the initial default values before a validation is done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions