feat(metadata): add Lambda Metadata utility for retrieving execution environment metadata #1709
Annotations
21 warnings
|
build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
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/BatchProcessorAttribute.cs#L515
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String)'. The return value of method 'AWS.Lambda.Powertools.BatchProcessing.BatchProcessorAttribute.TypedRecordHandlerWithContextProvider.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#L484
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String)'. The return value of method 'AWS.Lambda.Powertools.BatchProcessing.BatchProcessorAttribute.TypedRecordHandlerProvider.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/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/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/TypedRecordHandlerWrapperBase.cs#L37
'DeserializationOptions.IgnoreDeserializationErrors' is obsolete: 'Use ErrorPolicy property instead. This property will be removed in a future version.'
|
|
build:
libraries/src/AWS.Lambda.Powertools.Tracing/Internal/XRayRecorder.cs#L545
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperties(BindingFlags)'. The parameter 'type' of method 'AWS.Lambda.Powertools.Tracing.Internal.XRayRecorder.SanitizeComplexObject(Object, Type, Int32)' 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.Tracing/Internal/Helpers.cs#L12
XML comment has badly formed XML -- 'Whitespace is not allowed at this location.'
|
|
build:
libraries/src/AWS.Lambda.Powertools.Common/Aspects/UniversalWrapperAspect.cs#L103
Call to 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method.
|
|
build:
libraries/src/AWS.Lambda.Powertools.Common/Aspects/UniversalWrapperAspect.cs#L97
Call to 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method.
|
|
build:
libraries/src/AWS.Lambda.Powertools.Logging/Internal/Helpers/PowertoolsLoggerHelpers.cs#L41
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperties()'. The return value of method 'System.Object.GetType()' 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/UniversalWrapperAspect.cs#L103
Call to 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method.
|
|
build:
libraries/src/AWS.Lambda.Powertools.Common/Aspects/UniversalWrapperAspect.cs#L97
Call to 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method.
|
|
build
Using member 'System.Exception.TargetSite.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Metadata for the method might be incomplete or removed.
|
|
build
Using member 'System.Exception.TargetSite.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Metadata for the method might be incomplete or removed.
|
|
build
Using member 'System.Exception.TargetSite.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Metadata for the method might be incomplete or removed.
|
|
build:
libraries/src/AWS.Lambda.Powertools.Common/Aspects/UniversalWrapperAspect.cs#L103
Call to 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method.
|
|
build:
libraries/src/AWS.Lambda.Powertools.Common/Aspects/UniversalWrapperAspect.cs#L97
Call to 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method.
|
|
build:
libraries/src/AWS.Lambda.Powertools.Tracing/Internal/XRayRecorder.cs#L545
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperties(BindingFlags)'. The parameter 'type' of method 'AWS.Lambda.Powertools.Tracing.Internal.XRayRecorder.SanitizeComplexObject(Object, Type, Int32)' 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.Tracing/Internal/Helpers.cs#L12
XML comment has badly formed XML -- 'Whitespace is not allowed at this location.'
|