- Notifications
You must be signed in to change notification settings - Fork5.2k
set scope and build validation in dev when no options provided#99199
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ghost commentedMar 2, 2024
Tagging subscribers to this area: @dotnet/area-extensions-hosting Issue DetailsResolves issue#97091
|
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
buyaa-n commentedMay 8, 2024
@benjaminpetit could you take a look please? |
dotnet-policy-servicebot commentedJul 19, 2024 • edited by ericstj
Loading Uh oh!
There was an error while loading.Please reload this page.
edited by ericstj
Uh oh!
There was an error while loading.Please reload this page.
Added When you commit this breaking change:
Tagging @dotnet/compat for awareness of the breaking change. |
| publicHostBuilder() | ||
| { | ||
| _serviceProviderFactory=newServiceFactoryAdapter<IServiceCollection>(newDefaultServiceProviderFactory()); | ||
| _defaultProviderFactoryUsed=true; |
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.
Where is this ever set to false? Should that be done inUseServiceProviderFactory?
wcsanders1Jul 20, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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.
Yes, it seems to me that this field should be set to false whenUseServiceProviderFactory is called. This was my oversight I believe.
ericstj commentedJul 19, 2024
I marked this PR as breaking since it introduces new validation by default when in Development environment. |
ericstj commentedJul 24, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@steveharter or@wcsanders1 can you please create a breaking change doc for the new defaults for Update - I went ahead and created it, please review what I've created.dotnet/docs#41887 |
Resolves issue#97091