Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax error thrown when querying key fields having kebab case names #1779

Open
vm-keyvalue opened this issue May 31, 2024 · 1 comment
Open

Comments

@vm-keyvalue
Copy link

An exception stating syntax error is thrown when the queried field is in kebab case (has dashes).
For example the following operation fails with a syntax error:
dynamoDbTable.query("brand-identifier" === brandId)

However when the same query is tried with a camelCase field name, it works.
dynamoDbTable.query("brandIdentifier" === brandId) // works

@johnspaul
Copy link

We did face the same issue in one of our projects and we are holding back the integration due to this.

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

No branches or pull requests

2 participants