DynamoDbIgnoreNulls is not respected #3499
Labels
bug
This issue is a bug.
closed-for-staleness
dynamodb-enhanced
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 10 days.
Describe the bug
This is a duplicate of #2938, which was closed without being fixed.
I am using the DynamoDB Enhanced Client's
@DynamoDbIgnoreNulls
exactly as demonstrated in the documentation:When the
Dispatch
object is written using the enhanced client, all of the properties onStatus
with null values are written asAttributeValue(NUL=true)
instead of omitted.Expected Behavior
I expected null values not to be included at all.
Current Behavior
NUL
attributes are inserted.Reproduction Steps
Possible Solution
The
ignoreNulls
flag appears not to be applied recursively.Additional Information/Context
No response
AWS Java SDK version used
2.17.284
JDK version used
AdoptOpenJDK-11.0.11+9
Operating System and version
Gentoo Linux
The text was updated successfully, but these errors were encountered: