Skip to content

Bump Microsoft.AspNetCore.Components from 6.0.8 to 6.0.25 in /src/Web.TwitterComponents #282

Bump Microsoft.AspNetCore.Components from 6.0.8 to 6.0.25 in /src/Web.TwitterComponents

Bump Microsoft.AspNetCore.Components from 6.0.8 to 6.0.25 in /src/Web.TwitterComponents #282

Triggered via pull request December 2, 2023 04:01
Status Success
Total duration 4m 20s
Artifacts

build-validation.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: src/Web.Client/Components/LanguageSelectionComponent.razor.cs#L18
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync<Learning.Blazor.Models.AzureTranslationCultures>(System.Net.Http.HttpClient, string?, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
build: src/Web.Client/Components/TaskListComponent.razor.cs#L29
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync<System.Collections.Generic.IEnumerable<Learning.Blazor.Models.TodoItem>>(System.Net.Http.HttpClient, string?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
build: src/Web.Client/Components/TaskListComponent.razor.cs#L47
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PutAsJsonAsync<Learning.Blazor.Models.TodoItem>(System.Net.Http.HttpClient, string?, Learning.Blazor.Models.TodoItem, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
build: src/Web.Client/Components/TaskListComponent.razor.cs#L96
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<Learning.Blazor.Models.Requests.CreateTodoRequest>(System.Net.Http.HttpClient, string?, Learning.Blazor.Models.Requests.CreateTodoRequest, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
build: src/Web.Client/Services/GeoLocationService.cs#L25
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync<Learning.Blazor.Models.GeoCode>(System.Net.Http.HttpClient, string?, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
build: src/Web.Client/Services/WeatherFunctionsClientService.cs#L26
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync<Learning.Blazor.Models.WeatherDetails>(System.Net.Http.HttpClient, string?, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
build: src/Web.Client/Extensions/WebAssemblyHostBuilderExtensions.cs#L16
Using member 'Microsoft.Extensions.DependencyInjection.OptionsConfigurationServiceCollectionExtensions.Configure<Learning.Blazor.Options.WebApiOptions>(Microsoft.Extensions.DependencyInjection.IServiceCollection, Microsoft.Extensions.Configuration.IConfiguration)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. TOptions's dependent types may have their members trimmed. Ensure all required members are preserved.
build: src/Web.Client/Extensions/WebAssemblyHostBuilderExtensions.cs#L62
Using member 'Microsoft.Extensions.Configuration.ConfigurationBinder.Bind(Microsoft.Extensions.Configuration.IConfiguration, string, object)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Cannot statically analyze the type of instance so its members may be trimmed.
build: src/Web.Client/Pages/Contact.razor.cs#L78
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<Learning.Blazor.Models.Requests.ContactRequest>(System.Net.Http.HttpClient, string?, Learning.Blazor.Models.Requests.ContactRequest, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
build: src/Web.Client/Components/LanguageSelectionComponent.razor.cs#L18
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync<Learning.Blazor.Models.AzureTranslationCultures>(System.Net.Http.HttpClient, string?, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.