func (*CreateTable) Index has no test and seems broken
irohiroki opened this issue · comments
Hiroki Yoshioka commented
guregu commented
I don't think it's broken. I added some tests to verify it and it looks OK.
It's collecting a map of attribute names to types, needed for the primary keys and index keys.
https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateTable.html#DDB-CreateTable-request-AttributeDefinitions
Hiroki Yoshioka commented
ok, great! I think I referenced a wrong type. Thank you for double checking!