Skip to content
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: Handle null AttributeValues when serializing DynamoDBEvent to JSON #1689

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

ashovlin
Copy link
Member

@ashovlin ashovlin commented Mar 8, 2024

Issue #, if available: #1657

Description of changes: Follow-up to #1685 to handle the issue reported in #1657 (comment).

I believe we expect there to be a type with a value for each attribute when actually working with DynamoDB (otherwise you would have seen a validation error when saving the item), but this allows more flexibility when mocking data.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ashovlin ashovlin requested review from normj and dscpinheiro March 8, 2024 16:51
@ashovlin ashovlin merged commit 633e457 into dev Mar 12, 2024
4 checks passed
@ashovlin ashovlin deleted the shovlia/ddbevent-tojson-null branch March 12, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants