dotnet / aspnetcore Public
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
Annotate WebAssembly.Authentication #39838
base: main
Are you sure you want to change the base?
Conversation
...Components/WebAssembly/Authentication.Msal/src/MsalWebAssemblyServiceCollectionExtensions.cs
Outdated
Show resolved
Hide resolved
CandidateAssets="@(_InteropBuildOutput)" | ||
RelativePathFilter="**.js" | ||
> | ||
<DefineStaticWebAssets Condition="@(_InteropBuildOutput) != ''" SourceType="Computed" SourceId="$(PackageId)" ContentRoot="$(YarnWorkingDir)dist\$(Configuration)\" BasePath="_content/$(PackageId)" CandidateAssets="@(_InteropBuildOutput)" RelativePathFilter="**.js"> |
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.
Was this unwrapping intentional? If not, could we please revert this bit?
...omponents/WebAssembly/WebAssembly.Authentication/src/Services/RemoteAuthenticationService.cs
Outdated
Show resolved
Hide resolved
...embly/WebAssembly.Authentication/src/WebAssemblyAuthenticationServiceCollectionExtensions.cs
Outdated
Show resolved
Hide resolved
Authentication.MSAL was already annotated for trimming. However WebAssembly.Authentication previously wasn't. Investigating this issue, the underlying issue was that our JSRuntime.Invoke* APIs aren't annotated accurately. Essentially, all of the In this particular case, |
Co-authored-by: Tanay Parikh <[email protected]>
…mblyServiceCollectionExtensions.cs Co-authored-by: Tanay Parikh <[email protected]>
Fixes #30751
Fixes #35162
The text was updated successfully, but these errors were encountered: