Unclear doc or signature for ConfigurationBinder.GetValue<T>(...) which returns a default #9638
Labels
area-Extensions-Configuration
Pri3
Indicates issues/PRs that are low priority
untriaged
New issue has not been triaged by the area owner
ConfigurationBinder.GetValue<T>(...)
returns null if the specified key is not found in theIConfiguration
, which is not apparent or documented. Sibling variant methods has a default value param at the least.https://source.dot.net/#Microsoft.Extensions.Configuration.Binder/ConfigurationBinder.cs,232ab46b757d72f9
Corresponding changes: #9639
The text was updated successfully, but these errors were encountered: