Skip to content
This repository was archived by the owner on Jun 19, 2023. It is now read-only.
This repository was archived by the owner on Jun 19, 2023. It is now read-only.

Scan Error when passing startKey for Model with fields that are not dynamo attributes #181

@krazibit

Description

@krazibit

The if check should come before destructuring as seen below

const { attributeName = propertyName } = propSchema;
if (propSchema) {

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