Skip to content

Returns no item to save instead validation errror #10

@MarioArnt

Description

@MarioArnt

When trying to save an invalid payload where hashkey is missing, dynamodels returns no item to save as type guard is based on hashkey !== undefined.
It should rather return validation error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingminor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions