Skip to content

File(allow_none=True) is not possible #319

Description

@ddorian

Hi team,

Is there interest in making File(allow_none=True)?
This would allow to send None to file and it being validated as valid.
The use case is to delete the file when editing a resource (set it to None to delete it).
I can make pull request.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions