Skip to content

Failed to deserialize DynamodbEvent.DynamodbStreamRecord#dynamodb #452

Closed
@mo7ty

Description

@mo7ty

When deserializing a DynamodbEvent, the contained DynamodbEvent.DynamodbStreamRecord#dynamodb (type: StreamRecord) is completely loaded: keys and new and old images (when present, obviously).

But when attempted to deserialize directly a DynamodbEvent.DynamodbStreamRecord, the contained DynamodbEvent.DynamodbStreamRecord#dynamodb (type: StreamRecord) is NOT loaded correctly.

Created demonstration test available at Add test for DynamodbEvent.DynamodbStreamRecord load:

Why? What am I missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions