chore: Powertools Logger v2 #1377
Annotations
10 warnings
build:
libraries/tests/AWS.Lambda.Powertools.Logging.Tests/Serializers/PowertoolsLambdaSerializerTests.cs#L53
Theory method 'Deserialize_ValidJson_ShouldReturnDeserializedObject' on test class 'PowertoolsLambdaSerializerTests' does not use parameter 'outputCase'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
|
build:
libraries/tests/AWS.Lambda.Powertools.Logging.Tests/Handlers/TestHandlers.cs#L248
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
libraries/tests/AWS.Lambda.Powertools.Logging.Tests/Handlers/TestHandlers.cs#L221
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
libraries/tests/AWS.Lambda.Powertools.Logging.Tests/Serializers/PowertoolsLoggingSerializerTests.cs#L226
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
build:
libraries/tests/AWS.Lambda.Powertools.Logging.Tests/Serializers/PowertoolsLoggingSerializerTests.cs#L231
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
build:
libraries/tests/AWS.Lambda.Powertools.Logging.Tests/Handlers/HandlerTests.cs#L7
The using directive for 'System.Text.Json.Serialization' appeared previously in this namespace
|
build:
libraries/src/AWS.Lambda.Powertools.Parameters/Internal/Transform/JsonTransformer.cs#L40
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, 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.
|
build:
libraries/src/AWS.Lambda.Powertools.Parameters/Internal/Transform/JsonTransformer.cs#L40
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, 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.
|
build:
libraries/src/AWS.Lambda.Powertools.Common/Core/ConsoleWrapper.cs#L76
Missing XML comment for publicly visible type or member 'ConsoleWrapper.ResetForTest()'
|
build:
libraries/src/AWS.Lambda.Powertools.Common/Core/ConsoleWrapper.cs#L76
Missing XML comment for publicly visible type or member 'ConsoleWrapper.ResetForTest()'
|