Azure / Azure/data-api-builder

Error specification: specification on non-success cases

Abierto
#214 0 comentarios 0 reacciones 1 asignado Reclamado por @mbhaskar Ver en GitHub
cosmos needs discussion question usability
Lenguaje dominante
C#
Estrellas
1.5k
Forks
370
Merge medio
3 d 22 h
PR fusionados (30 d)
9

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.