
▲ 14 r/dotnet
Why am I getting this error if there is a null check?
```
Argument type 'Domain.User.UserId?' is not assignable to parameter type 'Domain.User.UserId'
```
In TypeScript, I don’t get an error because there’s a null check, but here it seems the language design is flawed specifically in this case
u/Sensitive-Raccoon155 — 7 hours ago