try another way to serialize #23
Annotations
14 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Publish:
Lambdas/GetCharityTypes/Function.cs#L81
The type 'GetCharityTypes.CharityType' has been annotated with JsonSerializableAttribute but does not derive from JsonSerializerContext. No source code will be generated. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1224)
|
Publish:
Lambdas/GetCharityTypes/Function.cs#L72
Dereference of a possibly null reference.
|
Publish:
Lambdas/GetCharityTypes/Function.cs#L37
Using member 'Amazon.Lambda.Serialization.SystemTextJson.DefaultLambdaJsonSerializer.DefaultLambdaJsonSerializer()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. DefaultLambdaJsonSerializer does not support trimming. For trimmed Lambda functions SourceGeneratorLambdaJsonSerializer passing in JsonSerializerContext should be used instead.
|
Publish:
Lambdas/GetCharityTypes/Function.cs#L71
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.
|
Configure AWS credentials
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Build:
Lambdas/GetCharityTypes/Function.cs#L81
The type 'GetCharityTypes.CharityType' has been annotated with JsonSerializableAttribute but does not derive from JsonSerializerContext. No source code will be generated. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1224)
|
Build:
Lambdas/GetCharityTypes/Function.cs#L72
Dereference of a possibly null reference.
|
Build:
Lambdas/GetCharityTypes/Function.cs#L37
Using member 'Amazon.Lambda.Serialization.SystemTextJson.DefaultLambdaJsonSerializer.DefaultLambdaJsonSerializer()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. DefaultLambdaJsonSerializer does not support trimming. For trimmed Lambda functions SourceGeneratorLambdaJsonSerializer passing in JsonSerializerContext should be used instead.
|
Build:
Lambdas/GetCharityTypes/Function.cs#L71
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:
Lambdas/GetCharityTypes/Function.cs#L81
The type 'GetCharityTypes.CharityType' has been annotated with JsonSerializableAttribute but does not derive from JsonSerializerContext. No source code will be generated. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1224)
|
Build:
Lambdas/GetCharityTypes/Function.cs#L72
Dereference of a possibly null reference.
|
Build:
Lambdas/GetCharityTypes/Function.cs#L37
Using member 'Amazon.Lambda.Serialization.SystemTextJson.DefaultLambdaJsonSerializer.DefaultLambdaJsonSerializer()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. DefaultLambdaJsonSerializer does not support trimming. For trimmed Lambda functions SourceGeneratorLambdaJsonSerializer passing in JsonSerializerContext should be used instead.
|
Build:
Lambdas/GetCharityTypes/Function.cs#L71
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.
|
Loading