fogfish / dynamo

Generic Golang Key/Value trait for AWS storage services
MIT License
19 stars 5 forks source link

S3 update corrupts the struct #16

Closed fogfish closed 4 years ago

fogfish commented 4 years ago
  1. Put the document to s3 using Put

    {
    "a": "test",
    "list": [{"id":1, "text": "a"}, {"id":2, "text": "b"}, {"id":3, "text": "c"}, {"id":4, "text": "d"}]
    }
  2. Update the document at s3

    {
    "a": "test",
    "list": [{"id":5, "text": "e"}, {"id":6, "text": "f"}]
    }

after the update, elements of struct at list is corrupted.