Skip to content
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

Merged
merged 2 commits into from
Jan 12, 2023

Conversation

tarekgh
Copy link
Member

@tarekgh tarekgh commented Jan 10, 2023

#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.

@ghost
Copy link

ghost commented Jan 10, 2023

Tagging subscribers to this area: @dotnet/area-extensions-configuration
See info in area-owners.md if you want to be subscribed.

Issue Details

#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.

Author: tarekgh
Assignees: tarekgh
Labels:

area-Extensions-Configuration

Milestone: -

@tarekgh tarekgh requested a review from halter73 January 10, 2023 16:00
@tarekgh
Copy link
Member Author

tarekgh commented Jan 10, 2023

CC @SteveDunn

Copy link
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@tarekgh tarekgh merged commit 2038514 into dotnet:main Jan 12, 2023
@tarekgh
Copy link
Member Author

tarekgh commented Jan 12, 2023

/backport to release/7.0

@github-actions
Copy link
Contributor

Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/3904245491

@layomia
Copy link
Contributor

layomia commented Jan 12, 2023

LGTM.

@tarekgh
Copy link
Member Author

tarekgh commented Jan 26, 2023

/backport to release/7.0

@github-actions
Copy link
Contributor

Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/4019814284

@ghost ghost locked as resolved and limited conversation to collaborators Feb 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants