Skip to content

dynamite.Δ returns an error when a non-existent ID is passed to it #1

@igbominadeveloper

Description

@igbominadeveloper

I ran a query to get an item by id, but instead of getting null as a response, it returns this error

"Error: No value defined: {}",
            "    at Object.convertToNative (/var/task/node_modules/@aws-sdk/util-dynamodb/dist/cjs/convertToNative.js:39:11)",
            "    at Object.unmarshall (/var/task/node_modules/@aws-sdk/util-dynamodb/dist/cjs/unmarshall.js:11:57)",
            "    at Dynamite.<anonymous> (/var/task/node_modules/@pointblankdev/dynamite/dist/lib/Dynamite.js:46:36)",
            "    at Generator.next (<anonymous>)",
            "    at fulfilled (/var/task/node_modules/@pointblankdev/dynamite/dist/lib/Dynamite.js:5:58)",
            "    at processTicksAndRejections (internal/process/task_queues.js:97:5)"
          ],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions