CodeQL #498
Annotations
4 errors and 26 warnings
Analyze (javascript)
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
|
Analyze (javascript)
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
|
Analyze (csharp)
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
|
Analyze (csharp)
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
|
Analyze (javascript)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, github/codeql-action/init@v1, actions/setup-dotnet@v1, github/codeql-action/analyze@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Analyze (javascript)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, github/codeql-action/init@v1, actions/setup-dotnet@v1, github/codeql-action/analyze@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Analyze (javascript):
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.
|
Analyze (javascript):
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.
|
Analyze (javascript):
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.
|
Analyze (javascript):
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.
|
Analyze (javascript):
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.
|
Analyze (javascript):
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.
|
Analyze (javascript):
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.
|
Analyze (javascript):
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.
|
Analyze (javascript):
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.
|
Analyze (javascript):
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.
|
Analyze (javascript)
1 issue was detected with this workflow: Using on.push.paths-ignore can prevent Code Scanning annotating new alerts in your pull requests.
|
Analyze (csharp)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, github/codeql-action/init@v1, actions/setup-dotnet@v1, github/codeql-action/analyze@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Analyze (csharp)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, github/codeql-action/init@v1, actions/setup-dotnet@v1, github/codeql-action/analyze@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Analyze (csharp)
1 issue was detected with this workflow: Using on.push.paths-ignore can prevent Code Scanning annotating new alerts in your pull requests.
|
Analyze (csharp):
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.
|
Analyze (csharp):
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.
|
Analyze (csharp):
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.
|
Analyze (csharp):
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.
|
Analyze (csharp):
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.
|
Analyze (csharp):
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.
|
Analyze (csharp):
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.
|
Analyze (csharp):
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.
|
Analyze (csharp):
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.
|
Analyze (csharp):
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.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
debug-artifacts-csharp
Expired
|
50 MB |
|
debug-artifacts-javascript
Expired
|
26.8 MB |
|