You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(main): adding info about remove undefined values for doc client … (#5725)
* docs(main): adding info about remove undefined values for doc client marshalling
* docs(main): fixing code example to not use marshall function
* docs(main): fixing description for basic use section
---------
Co-authored-by: RanVaknin <[email protected]>
- In v2 `undefined` values in objects were automatically omitted during the marshalling process to DynamoDB.
499
+
500
+
- In v3, the default marshalling behavior in @aws-sdk/lib-dynamodb has changed: objects with `undefined` values are no longer omitted. To align with v2's functionality, developers must explicitly set the `removeUndefinedValues` to `true` in the `marshallOptions` of the DynamoDBDocumentClient.
0 commit comments