chore: Metrics PushSingleMetric default dimensions #1306
Annotations
1 error and 20 warnings
Test & Code Coverage
Process completed with exit code 1.
|
Test & Code Coverage:
libraries/src/AWS.Lambda.Powertools.Tracing/Internal/Helpers.cs#L12
XML comment has badly formed XML -- 'Whitespace is not allowed at this location.'
|
Test & Code Coverage:
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.
|
Test & Code Coverage:
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.
|
Test & Code Coverage:
libraries/src/AWS.Lambda.Powertools.BatchProcessing/BatchProcessorAttribute.cs#L283
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'AWS.Lambda.Powertools.BatchProcessing.BatchProcessorAttribute.BatchProcessor.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
Test & Code Coverage:
libraries/src/AWS.Lambda.Powertools.BatchProcessing/BatchProcessorAttribute.cs#L294
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'AWS.Lambda.Powertools.BatchProcessing.BatchProcessorAttribute.BatchProcessorProvider.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
Test & Code Coverage:
libraries/src/AWS.Lambda.Powertools.BatchProcessing/BatchProcessorAttribute.cs#L313
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'AWS.Lambda.Powertools.BatchProcessing.BatchProcessorAttribute.RecordHandler.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
Test & Code Coverage:
libraries/src/AWS.Lambda.Powertools.BatchProcessing/BatchProcessorAttribute.cs#L324
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'AWS.Lambda.Powertools.BatchProcessing.BatchProcessorAttribute.RecordHandlerProvider.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
Test & Code Coverage:
libraries/src/AWS.Lambda.Powertools.Tracing/Internal/Helpers.cs#L12
XML comment has badly formed XML -- 'Whitespace is not allowed at this location.'
|
Test & Code Coverage:
libraries/tests/AWS.Lambda.Powertools.Logging.Tests/Serializers/PowertoolsLambdaSerializerTests.cs#L60
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)
|
Test & Code Coverage:
libraries/tests/AWS.Lambda.Powertools.Parameters.Tests/AppConfig/AppConfigProviderTest.cs#L1170
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
|
Build:
libraries/src/AWS.Lambda.Powertools.Tracing/Internal/Helpers.cs#L12
XML comment has badly formed XML -- 'Whitespace is not allowed at this location.'
|
Build:
libraries/src/AWS.Lambda.Powertools.Tracing/Internal/Helpers.cs#L12
XML comment has badly formed XML -- 'Whitespace is not allowed at this location.'
|
Build:
libraries/src/AWS.Lambda.Powertools.BatchProcessing/BatchProcessorAttribute.cs#L283
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'AWS.Lambda.Powertools.BatchProcessing.BatchProcessorAttribute.BatchProcessor.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
Build:
libraries/src/AWS.Lambda.Powertools.BatchProcessing/BatchProcessorAttribute.cs#L294
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'AWS.Lambda.Powertools.BatchProcessing.BatchProcessorAttribute.BatchProcessorProvider.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
Build:
libraries/src/AWS.Lambda.Powertools.BatchProcessing/BatchProcessorAttribute.cs#L313
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'AWS.Lambda.Powertools.BatchProcessing.BatchProcessorAttribute.RecordHandler.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
Build:
libraries/src/AWS.Lambda.Powertools.BatchProcessing/BatchProcessorAttribute.cs#L324
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'AWS.Lambda.Powertools.BatchProcessing.BatchProcessorAttribute.RecordHandlerProvider.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
Build:
libraries/src/AWS.Lambda.Powertools.Common/Aspects/AspectEventArgs.cs#L33
Non-nullable property 'Instance' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
libraries/src/AWS.Lambda.Powertools.Common/Aspects/AspectEventArgs.cs#L39
Non-nullable property 'Type' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
libraries/src/AWS.Lambda.Powertools.Common/Aspects/AspectEventArgs.cs#L45
Non-nullable property 'Method' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
libraries/src/AWS.Lambda.Powertools.Common/Aspects/AspectEventArgs.cs#L51
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Loading