Open timkendall opened 6 years ago
For Crystal types of arrays and hashes we will need to make Crynamo::Marshaller recursive. For example, here is a DynamoDB query that includes DynamoDB types of M, L, and NS:
Crynamo::Marshaller
M
L
NS
{ "TableName": "Pets", "Item": { "Name": { "S": "Thor" }, "Lifespan": { "N": 100 }, "family_friendly": { "BOOL": false }, "stuff": { "M": { "a":{ "N": 1 } } }, "list": { "L":[{"S": "foo"}, {"BOOL": true}, {"N": 34.55}] }, "number_set": { "NS": [1,2,3,4, 5.0] } } }
For Crystal types of arrays and hashes we will need to make
Crynamo::Marshaller
recursive. For example, here is a DynamoDB query that includes DynamoDB types ofM
,L
, andNS
: