We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3db242f + 1271836 commit ed84ccfCopy full SHA for ed84ccf
shared-code/src/data-access-layer/data-access-objects/data-access-object-dynamodb.ts
@@ -609,7 +609,9 @@ export class DataAccessObjectDynamoDB extends BasicDataAccessObject implements I
609
items.forEach((item) => {
610
Object.keys(item).forEach((key) => {
611
if (!attributeTypes[key]) {
612
- attributeTypes[key] = typeof item[key];
+ const attributeValue = item[key];
613
+ const attributeType = Object.keys(attributeValue)[0];
614
+ attributeTypes[key] = attributeType;
615
}
616
});
617
0 commit comments