Skip to content

Fix some trim warnings in Components.Endpoints #49890

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
merged 1 commit into from
Aug 9, 2023
Merged

Conversation

eerhardt
Copy link
Member

@eerhardt eerhardt commented Aug 6, 2023

  • Add DynamicallyAccessedMembers attributes to places that flow Component Type around.

With this change I can dotnet publish with PublishTrimmed=true a very simple RazorComponents/RazorComponentResult application and it loads successfully.

- Add DynamicallyAccessedMembers attributes to places that flow Component Type around.
@eerhardt eerhardt requested a review from a team as a code owner August 6, 2023 00:19
@ghost ghost added the area-blazor Includes: Blazor, Razor Components label Aug 6, 2023
@eerhardt eerhardt merged commit 13bc23b into main Aug 9, 2023
@eerhardt eerhardt deleted the FixSomeBlazorWarnings branch August 9, 2023 11:47
@ghost ghost added this to the 8.0-rc1 milestone Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants