Skip to content

Make soft deletable relations always nullable #1684

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Khartir opened this issue Feb 26, 2025 · 0 comments
Open

Make soft deletable relations always nullable #1684

Khartir opened this issue Feb 26, 2025 · 0 comments

Comments

@Khartir
Copy link

Khartir commented Feb 26, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant