Errors when capturing component references in nullable context #24360
Unanswered
marinasundstrom
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a Blazor app in which I want to capture a reference to a component in code:
In a variable like this:
This should work but the generated Razor component code does not handle nullable correctly. It performs a cast to a non-nullable.
Can I avoid this error?
Beta Was this translation helpful? Give feedback.
All reactions