chore: Fix examples projects to include projectreferences (#1110) #92
Annotations
10 warnings
|
build:
libraries/src/AWS.Lambda.Powertools.BatchProcessing/Internal/AotCompatibilityHelper.cs#L91
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.BatchProcessing/Internal/TypedBatchProcessingAspectHandler.cs#L115
Using member 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantiation might not be available at runtime.
|
|
build:
libraries/src/AWS.Lambda.Powertools.BatchProcessing/DynamoDb/DynamoDbRecordDataExtractor.cs#L41
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.
|
|
build:
libraries/src/AWS.Lambda.Powertools.BatchProcessing/DynamoDb/DynamoDbRecordDataExtractor.cs#L41
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.
|
|
build:
libraries/src/AWS.Lambda.Powertools.BatchProcessing/JsonDeserializationService.cs#L45
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.BatchProcessing/JsonDeserializationService.cs#L45
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.BatchProcessing/JsonDeserializationService.cs#L70
'DeserializationOptions.IgnoreDeserializationErrors' is obsolete: 'Use ErrorPolicy property instead. This property will be removed in a future version.'
|
|
build:
libraries/src/AWS.Lambda.Powertools.BatchProcessing/Internal/TypedRecordHandlerWithContextWrapperBase.cs#L41
'DeserializationOptions.IgnoreDeserializationErrors' is obsolete: 'Use ErrorPolicy property instead. This property will be removed in a future version.'
|
|
build:
libraries/src/AWS.Lambda.Powertools.BatchProcessing/Internal/TypedRecordHandlerWrapperBase.cs#L37
'DeserializationOptions.IgnoreDeserializationErrors' is obsolete: 'Use ErrorPolicy property instead. This property will be removed in a future version.'
|
|
build:
examples/Logging/src/HelloWorld/Function.cs#L55
'DynamoDBContext.DynamoDBContext(IAmazonDynamoDB, DynamoDBContextConfig)' is obsolete: 'Use the DynamoDBContextBuilder to construct a DynamoDBContext with the recommended configuration.'
|