Skip to content

Make soft deletable relations always nullable #1684

Open
@Khartir

Description

@Khartir

Summary

When a relation is not nullable in the database it can still be null during access, if the related entity uses SoftDeletes. Therefore the property of such a relation should always include |null in the typehint.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions