Skip to content

Use custom serializer options for responses instead of default one #1715

Closed
@Nairda015

Description

@Nairda015

Describe the bug

I don't see a way to set serialization options on all responses from lambda

Expected Behavior

I can control serialization options of responses like DefaultIgnoreCondition

Current Behavior

Default serializer is used and I have no idea how to override it's behavior

Reproduction Steps

Create custom serializer like in this example with DefaultIgnoreCondition set to WhenWrittingNull and return json with null values

Possible Solution

Here I want to use serializer options from custom serializer like in this example instead of default one.
It will require changes in if check from first link and maybe here

Additional Information/Context

AWS .NET SDK and/or Package version used

Annotation.Framework 1.2

Targeted .NET Platform

.NET 6

Operating System and version

AmazonLinux

Metadata

Metadata

Assignees

No one assigned

    Labels

    annotationsfeature-requestA feature should be added or improved.p1This is a high priority issuequeuedsEffort estimation: small

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions