Azure / Azure/data-api-builder

Error specification: specification on non-success cases

Open
#214 0 comments 0 reactions 1 assignee Claimed by @mbhaskar View on GitHub
cosmos needs discussion question usability
Dominant language
C#
Stars
1.5k
Forks
370
Avg merge
3d 17h
Merged PRs (30d)
8

Description

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

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.