-
Notifications
You must be signed in to change notification settings - Fork 10.4k
[Blazor] Pass environment to runtime config only when defined #62418
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javiercn
reviewed
Jun 20, 2025
src/Components/test/testassets/BasicTestApp/BasicTestApp.csproj
Outdated
Show resolved
Hide resolved
javiercn
approved these changes
Jun 20, 2025
javiercn
approved these changes
Jun 20, 2025
/ba-g Failures are not related |
It is a regression from merging boot config into dotnet.js. After that change, boot config is always loaded "immediately" & options passed from blazor are applied after it. In general, this is good as it allows to override default build values with those provided by user. We just need to be careful about default (null or undefined) values.
We have an E2E test, but on CI it fallbacks to
Production
value, which is also a default value. I'm changing the test to have a value ofStaging
when running on CI andDevelopment
when running in debug.Fixes #62362