Azure / Azure/data-api-builder
DAB - Cosmos Engine : Query by PK return default element when there is no parameter passed
Open
bug
cosmos
enhancement
graphql
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 370
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 8
Description
The resolvers generated by cosmos engine let the user to query by partition key without passing the partition key

Not sure if this is the expected behaviour, at least we should throw an error asking the user to pass the partition key.
Contributor guide
Assessment
This issue has not been assessed yet.