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

whereKey method does not allow Optional fields #404

Open
googley42 opened this issue Mar 19, 2024 · 0 comments
Open

whereKey method does not allow Optional fields #404

googley42 opened this issue Mar 19, 2024 · 0 comments

Comments

@googley42
Copy link
Contributor

The whereKey type checking is overly restrictive and prevents optional fields from being used in the key condition clause. The workaround for now id to use the lower level API eg query.whereKey(${"someField"}.partitionKey === <someValue>)

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

1 participant