chore: Feature/kafka consumer #14
Annotations
1 error and 10 warnings
|
build
Process completed with exit code 1.
|
|
build:
libraries/src/AWS.Lambda.Powertools.Kafka.Json/PowertoolsKafkaJsonSerializer.cs#L66
Member 'AWS.Lambda.Powertools.Kafka.Json.PowertoolsKafkaJsonSerializer.DeserializeComplexValue(String, Type)' with 'RequiresDynamicCodeAttribute' overrides base member 'AWS.Lambda.Powertools.Kafka.PowertoolsKafkaSerializerBase.DeserializeComplexValue(String, Type)' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
|
|
build:
libraries/src/AWS.Lambda.Powertools.Kafka.Json/PowertoolsKafkaJsonSerializer.cs#L67
'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the parameter 'valueType' of method 'AWS.Lambda.Powertools.Kafka.Json.PowertoolsKafkaJsonSerializer.DeserializeComplexValue(String, Type)' don't match overridden parameter 'valueType' of method 'AWS.Lambda.Powertools.Kafka.PowertoolsKafkaSerializerBase.DeserializeComplexValue(String, Type)'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
|
|
build:
libraries/src/AWS.Lambda.Powertools.Kafka/PowertoolsKafkaSerializerBase.cs#L98
Using member 'AWS.Lambda.Powertools.Kafka.PowertoolsKafkaSerializerBase.DeserializeConsumerRecords<T>(String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. ConsumerRecords deserialization uses reflection and may be incompatible with trimming.
|
|
build:
libraries/src/AWS.Lambda.Powertools.Kafka/PowertoolsKafkaSerializerBase.cs#L98
Using member 'AWS.Lambda.Powertools.Kafka.PowertoolsKafkaSerializerBase.DeserializeConsumerRecords<T>(String)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. ConsumerRecords deserialization dynamically creates generic types and may be incompatible with NativeAOT.
|
|
build:
examples/Parameters/cfn/HelloWorld.Cfn/Function.cs#L90
Dereference of a possibly null reference.
|
|
build:
examples/Parameters/cfn/HelloWorld.Cfn/Function.cs#L81
Dereference of a possibly null reference.
|
|
build:
examples/Parameters/cfn/HelloWorld.Cfn/Function.cs#L80
'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
|
|
build:
examples/ServerlessApi/test/LambdaPowertoolsAPI.Tests/ValuesControllerTests.cs#L43
Possible null reference argument for parameter 'request' in 'Task<APIGatewayProxyResponse> LambdaEntryPoint.FunctionHandlerAsync(APIGatewayProxyRequest request, ILambdaContext lambdaContext)'.
|
|
build:
examples/Idempotency/src/HelloWorld/Function.cs#L86
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:
examples/Idempotency/src/HelloWorld/Function.cs#L86
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.
|