Skip to content

Commit

Permalink
🐛 fix dynamodb serialization issue
Browse files Browse the repository at this point in the history
  • Loading branch information
drieshooghe committed Oct 2, 2024
1 parent 83d4504 commit 40286c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/integration/dynamodb/lib/dynamodb.event-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export class DynamoDBEventStore extends EventStore<DynamoDBEventStoreConfig> {
correlationId: metadata.correlationId,
causationId: metadata.causationId,
},
{ removeUndefinedValues: true },
{ removeUndefinedValues: true, convertClassInstanceToMap: true },
),
},
})),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export class DynamoDBSnapshotStore extends SnapshotStore<DynamoDBSnapshotStoreCo
registeredOn: envelope.metadata.registeredOn.getTime(),
latest: `latest#${stream.streamId}`,
},
{ removeUndefinedValues: true },
{ removeUndefinedValues: true, convertClassInstanceToMap: true },
),
},
},
Expand Down

0 comments on commit 40286c7

Please sign in to comment.