-
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
[release/6.0] Making user secrets optional by default #62917
Conversation
Tagging subscribers to this area: @dotnet/area-extensions-configuration Issue DetailsBackport of #62821 to release/6.0 /cc @maryamariyan Customer ImpactTestingRisk
|
@maryamariyan - I think we need to add servicing changes here as well, so the See the docs and here is an example. |
This was previously approved over email on 12/20 |
@ericstj @safern @carlossanlop - can someone merge this? |
I do not have permission to merge release changes with failing CI. @danmoseley? |
Is anyone actively looking into either fixing or disabling |
I'll put up a PR to port my fix for OpenDevices01 |
Backport of #62821 to release/6.0
/cc @maryamariyan
Customer Impact
Customer reported break from 5.0. Prior to 6.0, while using
IConfigurationBuilder.AddUserSecrets
the API was not flowing the optional flag. (assumed it was always optional even if it was set to false).This bugfix has caused a regression for when the user relies on the default value of optional flag (currently false).
In this regression fix, we are making sure when the default value for optional flag is used, that the behavior stays the same as it did before prior 6.0. We do that by flipping optional flag from false to true as default.
Please not there would be a breaking change from 6.0 to 6.0.2, but behavior remains the same as what it was in 5.0 and earlier.
Link to original pr fix.
Link to new pr fix.
Testing
Available in pr #62821
Risk
Low risk, because it would start matching behavior from 5.0 and before.
But there would be a breaking change from 6.0 to 6.0.2, but behavior remains the same as what it was in 5.0 and earlier.