Skip to content
This repository has been 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

Open
krazibit opened this issue Feb 26, 2020 · 1 comment

Comments

@krazibit
Copy link

The if check should come before destructuring as seen below

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

@krazibit
Copy link
Author

krazibit commented Feb 26, 2020

fixed here https://github.com/krazibit/dynamodb-data-mapper-js but unable to open a PR
PR opened

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant