YoyaTeam / dynamodb-manager

A Dynamodb admin & manager GUI for DynamoDB Local and remote.
https://dynamodb-manager.netlify.app
MIT License
130 stars 34 forks source link

Atomic operations cause strange behaviour #49

Open Cussa opened 7 months ago

Cussa commented 7 months ago

First of all, thanks for the amazing tool!

I am working on a project using Localstack to development, and we use the DynamoDB-Manager to check the data we are putting into the database.

However, we use DynamoDB Atomic operations, which means that at some points we send some SET commands to the database.

When I check the data using the aws cli, this is the response I get:

{
    "Item": {
        "DbVersion": {
            "N": "0"
        },
        "Roles": {
            "SS": [
                "admin"
            ]
        },
        "Id": {
            "S": "0123"
        }
    }
}

However, when I get the same item using the DynamoDB-Manager, this is the response I get:

{
    "DbVersion": 0,
    "Roles": {
        "wrapperName": "Set",
        "values": [
            "admin"
        ],
        "type": "String"
    },
    "Id": "0123"
 }