Config generator doesn't match nullability semantics of built-in Bind #90987
Labels
area-Extensions-Configuration
blocking-release
bug
source-generator
Indicates an issue with a source generator feature
Milestone
The built-in Bind method annotates the object as nullable:
and then explicitly nops if it's null:
In contrast, the code generated by the generator annotates it as non-nullable and throws an exception if it's null, changing the semantics when using the source generator.
(It also names the parameter
obj
instead ofinstance
.)The text was updated successfully, but these errors were encountered: