Azure / Azure/data-api-builder

Error specification: specification on non-success cases

Aperta
#214 0 commenti 0 reazioni 1 assegnatario Rivendicata da @mbhaskar Vedi su GitHub
cosmos needs discussion question usability
Lingua principale
C#
Stelle
1.5k
Fork
370
Merge medio
3g 22h
PR unite (30g)
9

Descrizione

Error specification: is there any specification on non-success cases?
Ex: Down stream errors due to mutations how do they surface to CX?

https://spec.graphql.org/June2018/#sec-Errors lists the generic model and also the possible service specific extensions.
For Hawai, did we define any extension contract/structure? OR its free flowing for now and choice to every implementation?

Current implementation: Setting the (ex.Message, ex.StatusCode) combinations.

https://github.com/Azure/hawaii-gql/blob/0db8780e41550ab126e429ce3afbe32cbc9dc4df/DataGateway.Service/Services/GraphQLService.cs#68

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.