-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Configuration to ensure calling the property setters. #80438
Fix Configuration to ensure calling the property setters. #80438
Conversation
Tagging subscribers to this area: @dotnet/area-extensions-configuration Issue DetailsWhen performing the configuration property binding, we need to ensure calling the property setter (if the property has a setter). The reason is the apps can decide having some logic adjusting the property value inside the setter. This is a fix to a regression introduced in 7.0 release.
|
CC @SteveDunn |
src/libraries/Microsoft.Extensions.Configuration.Binder/src/ConfigurationBinder.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
/backport to release/7.0 |
Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/3904245491 |
LGTM. |
/backport to release/7.0 |
Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/4019814284 |
#79904
When performing the configuration property binding, we need to ensure calling the property setter (if the property has a setter). The reason is the apps can decide having some logic adjusting the property value inside the setter. This is a fix to a regression introduced in 7.0 release.