Merge pull request #800 from hjgraca/fix/low-hanging-fruit-metrics-v2 #1356
Annotations
10 warnings
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/tests/AWS.Lambda.Powertools.Tracing.Tests/Serializers/PowertoolsTracingSerializerTests.cs#L236
The type 'AWS.Lambda.Powertools.Tracing.Tests.Serializers.JsonTestObject' has been annotated with JsonSerializableAttribute but does not derive from JsonSerializerContext. No source code will be generated. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1224)
|
Build:
libraries/tests/AWS.Lambda.Powertools.Tracing.Tests/Serializers/PowertoolsTracingSerializerTests.cs#L248
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build:
libraries/tests/AWS.Lambda.Powertools.Tracing.Tests/Handlers/FullExampleHandler.cs#L114
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/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.
|
Loading