Conversation
41b18d9 to
a94c916
Compare
fee47fc to
69e2a45
Compare
|
im not aws worker or something but i kind of wanted to propuse similar thing. and i have done similar work at my company(resulted in different api because of some of the folowing things ill mention) there are some really good ideas in this pr like table lifecycle hooks on the request to update/put and so on.. my main issuess with that pr is
type User struct {
Name string `dynamodbav:"name"`
Email string `dynamodbav:"email"`
}
type Order struct {
Total int `dynamodbav:"total"`
Status string `dynamodbav:"status"`
}
// Clean composition — no duplicated fields
type UserOrders struct {
User
Order
}and store struct each one at its own table - table struct define the schema /autoversion/any other stuff - not the serializer itself 3a) lack of transaction is pretty huge u can build generic wrapper on transactions(read/write ones)
|
69e2a45 to
7f7e0d4
Compare
38cbc55 to
39b80b2
Compare
a2aebd1 to
43bbc91
Compare
43bbc91 to
240184a
Compare
Data Mapper implementation #3294