Skip to content

Commit

Permalink
docs(lib-dynamodb): add details to description of removeUndefinedValues
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe committed Dec 2, 2024
1 parent b5217c1 commit 548037e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion lib/lib-dynamodb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,11 @@ export interface marshallOptions {
*/
convertEmptyValues?: boolean;
/**
* Whether to remove undefined values while marshalling.
* Whether to remove undefined values from JS arrays/Sets/objects
* when marshalling to DynamoDB lists/sets/maps respectively.
*
* A DynamoDB item is not itself considered a map. Only
* attributes of an item are examined.
*/
removeUndefinedValues?: boolean;
/**
Expand Down
6 changes: 5 additions & 1 deletion packages/util-dynamodb/src/marshall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ export interface marshallOptions {
*/
convertEmptyValues?: boolean;
/**
* Whether to remove undefined values while marshalling.
* Whether to remove undefined values from JS arrays/Sets/objects
* when marshalling to DynamoDB lists/sets/maps respectively.
*
* A DynamoDB item is not itself considered a map. Only
* attributes of an item are examined.
*/
removeUndefinedValues?: boolean;
/**
Expand Down

0 comments on commit 548037e

Please sign in to comment.