clarkie/dynogels

Support for new aws-sd dynamodb driver feature: convert empty values to null

Closed this issue · 3 comments

"Converting empty values to null is now an opt-in feature of the document client; you can pass a boolean convertEmptyValues option to the document client constructor to have it do so."

See aws/aws-sdk-js#833

+1

Dynogels does not support null values, as setting an attribute to null is used to delete the attribute from the model.

Note that this fails if the attribute is part of a secondary index. undefined would have been a better choice.