Skip to content

Commit

Permalink
docs(lib-dynamodb): add details to description of removeUndefinedValu…
Browse files Browse the repository at this point in the history
…es (#6710)
  • Loading branch information
kuhe authored Dec 2, 2024
1 parent 8acd39e commit 044441e
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 044441e

Please sign in to comment.