Consider enforcing nullable type system in backend #754
Labels
backend
maintenance
Issue that makes it difficult to maintain the software or to upgrade installations post-release.
refactor
Similar to TypeScript where we use types such as
string | undefined
and the compiler checks/enforces this, we could enable nullable context project-wide on the backend:This would allow us to express a much finer control over where
null
is allowed in the backend, and open up for precisely describing which of our model fields can havenull
.Example:
Turning it on on the current code base results in a lot of errors that would need to be sorted out:
Errors
The text was updated successfully, but these errors were encountered: