Azure / Azure/data-api-builder

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

Aperta
#616 0 commenti 0 reazioni 2 assegnatari Rivendicata da @tarazou9 Vedi su GitHub
bug cosmos enhancement graphql
Lingua principale
C#
Stelle
1.5k
Fork
370
Merge medio
3g 17h
PR unite (30g)
8

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.