Skip to content

Allow definition of null as default valueΒ #3862

@emahuni

Description

@emahuni

there are many instances were I would like to define a null value

eg: endedAt should be null on creation, and the date set on ending of the model's representation. Therefore all models that don't have an endAt date set have not ended and those that are non-null have ended.

Null default makes a lot of things possible when designing models

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: feature requestIssue suggesting a new featureseverity: lowIf the issue only affects a very niche base of users and an easily implemented workaround can solve

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions