Skip to content

chore: Fix examples projects to include projectreferences #90

chore: Fix examples projects to include projectreferences

chore: Fix examples projects to include projectreferences #90

Triggered via pull request January 6, 2026 12:09
Status Success
Total duration 1m 33s
Artifacts

examples-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: libraries/src/AWS.Lambda.Powertools.Kafka/PowertoolsKafkaSerializerBase.cs#L203
Using member 'System.Type.MakeGenericType(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.Kafka/PowertoolsKafkaSerializerBase.cs#L202
Using member 'System.Type.MakeGenericType(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.Kafka/PowertoolsKafkaSerializerBase.cs#L181
Using member 'System.Type.MakeGenericType(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.Kafka/PowertoolsKafkaSerializerBase.cs#L181
Using member 'System.Type.MakeGenericType(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.Kafka/PowertoolsKafkaSerializerBase.cs#L179
Using member 'System.Type.MakeGenericType(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.Kafka/PowertoolsKafkaSerializerBase.cs#L104
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#L104
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: libraries/src/AWS.Lambda.Powertools.Kafka/PowertoolsKafkaSerializerBase.cs#L404
Dereference of a possibly null reference.