-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[wasm] Opt-in to use dotnet.boot.js #47451
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
Conversation
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.
Pull Request Overview
This PR updates the boot configuration to explicitly use "dotnet.boot.js" and prepares tests for the new default configuration.
- Adds a new BootJsonDataLoader class to parse boot configuration JSON content from boot.js.
- Replaces hard-coded boot configuration file names with an interpolated variable in tests.
Reviewed Changes
Copilot reviewed 35 out of 35 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/BootJsonData.cs | Added a new BootJsonDataLoader and updated namespace style |
test/Microsoft.NET.Sdk.BlazorWebAssembly.AoT.Tests/WasmAoTPublishIntegrationTest.cs | Replaced hard-coded boot config filename with an interpolated variable |
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.
BootJsonData50
-> BootJsonData
I would prefer to make the name more in-your-face about testing.
Like TestingBootJsonData
etc for all types here
Explicitly set
WasmBootConfigFileName=dotnet.boot.js
to prepare all tests that this is the new default.In the follow-up we'll remove the explicit property set.
In another follow-up we will update some tests to be more agnostic to exact boot config schema.
Contributes to dotnet/aspnetcore#59456