Skip to content

Commit 875b874

Browse files
committed
Address PR feedback from Alex
1 parent a9285c5 commit 875b874

File tree

4 files changed

+0
-189
lines changed

4 files changed

+0
-189
lines changed

Libraries/src/Amazon.Lambda.Annotations/APIGateway/HttpResults.cs

-6
Original file line numberDiff line numberDiff line change
@@ -347,12 +347,6 @@ public static IHttpResult NewResult(HttpStatusCode statusCode, object body = nul
347347

348348

349349
#if !NETSTANDARD2_0
350-
// See comment in class documentation on the rules for serializing. If any changes are made in this method be sure to update
351-
// the comment above.
352-
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ReflectionAnalysis", "IL2026",
353-
Justification = "When using this library with the Native AOT the SourceGeneratorLambdaJsonSerializer has to be registered which will provide the information needed for JsonSerializerContext and avoid the reflection based JsonSerializer.Serialize call")]
354-
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ReflectionAnalysis", "IL3050",
355-
Justification = "When using this library with the Native AOT the SourceGeneratorLambdaJsonSerializer has to be registered which will provide the information needed for JsonSerializerContext and avoid the reflection based JsonSerializer.Serialize call")]
356350
private static (string body, string contentType, bool base64Encoded) FormatBody(object body, ILambdaSerializer serializer)
357351
{
358352
if (body == null)

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/FunctionsZipOutput_ToLower_Generated.g.cs

-71
This file was deleted.

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/ParameterlessMethodWithResponse_NoParameterWithResponse_Generated.g.cs

-56
This file was deleted.

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/ParameterlessMethods_NoParameter_Generated.g.cs

-56
This file was deleted.

0 commit comments

Comments
 (0)