Nullable Reference types are really annoying to work with in expression trees. #3387
Unanswered
bbarry
asked this question in
Language Ideas
Replies: 1 comment
-
Why isn't the null-forgiving operator sufficient? It seems to work inside an expression tree. With that, your code would be: RuleFor(
p => p.Db!.Table //Expression<Func<MyComplexType, T>>
) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Perhaps as an alternative to #158, could the specification around flow analysis be changed to explicitly NOT support analysis inside expression tree types?
Nullable reference types make the missing null coalescing operators really stand out.
trying to use FluentValidation on type trees with nrt enabled:
Beta Was this translation helpful? Give feedback.
All reactions