Azure / Azure/data-api-builder

DAB - Cosmos Engine : Query by PK return default element when there is no parameter passed

Open
#616 0 comments 0 reactions 2 assignees Claimed by @tarazou9 View on GitHub
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

![Screenshot 2022-07-28 at 16 20 43](https://user-images.githubusercontent.com/4833351/181488455-4ef24ad3-b73f-462f-8ef6-43d2740038da.png)

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.