-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(util-dynamodb): allow marshall function to handle more input types #3539
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, just some comments about move some tests to exists unit tests and using .integ.spec.ts
extension for integration tests
b879c18
to
1105751
Compare
aws#3539) * fix(util-dynamodb): allow marshall function to handle more input types * fix(util-dynamodb): revert marshall.spec.ts and minor formatting * fix(util-dynamodb): code spacing
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
Issue
Fixes #2807
Description
marshall
method in util-dynamodb and used by lib-dynamodbM
property assuming a map is the inputprocessObj
in lib-dynamodb needs to accept falsy values other than undef.Testing
added unit/integration specs to cover the cases described in the issue and my other change to lib-dynamodb
Additional context
util-dynamodb
is an internal package providing the marshaling functionality.lib-dynamodb
is a wrapper forclient-dynamodb
that aims to simplify the object structure to one that is more JavaScript-like.