aws / aws-sdk-go-v2

AWS SDK for the Go programming language.
https://aws.github.io/aws-sdk-go-v2/docs/
Apache License 2.0
2.68k stars 651 forks source link

omitempty for NULL attribute values from custom marshalers #2732

Closed babattles closed 3 months ago

babattles commented 4 months ago

The goal here is to allow implementors of the Marshaler interface to be able to return a value from MarshalDynamoDBAttributeValue() that is able to be omitted via the omitempty tag.

Related Issues:

lucix-aws commented 3 months ago

https://github.com/aws/aws-sdk-go-v2/issues/2731#issuecomment-2269530592