chore(ci): 🔧 streamline build matrix and protoc setup #38
Annotations
10 warnings
|
publish:
src/EcoFlow.Mqtt.Api/EntryPoint.cs#L62
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use the overload that takes a JsonTypeInfo or JsonSerializerContext.
|
|
publish:
src/EcoFlow.Mqtt.Api/EntryPoint.cs#L62
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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.
|
|
publish:
src/EcoFlow.Mqtt.Api/EntryPoint.cs#L61
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
|
|
publish:
src/EcoFlow.Mqtt.Api/EntryPoint.cs#L61
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<TValue>(TValue, JsonSerializerOptions)' 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.
|
|
publish:
src/EcoFlow.Mqtt.Api/EntryPoint.cs#L56
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use the overload that takes a JsonTypeInfo or JsonSerializerContext.
|
|
publish:
src/EcoFlow.Mqtt.Api/EntryPoint.cs#L56
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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.
|
|
publish:
src/EcoFlow.Mqtt.Api/EntryPoint.cs#L55
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
|
|
publish:
src/EcoFlow.Mqtt.Api/EntryPoint.cs#L55
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<TValue>(TValue, JsonSerializerOptions)' 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.
|
|
publish:
src/EcoFlow.Mqtt.Api/Extensions/ProtobufExtensions.cs#L23
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
|
|
publish:
src/EcoFlow.Mqtt.Api/Extensions/ProtobufExtensions.cs#L23
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' 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.
|