Azure / Azure/data-api-builder
Error specification: specification on non-success cases
Đang mở
cosmos
needs discussion
question
usability
- Ngôn ngữ chính
- C#
- Star
- 1.5k
- Fork
- 372
- Merge trung bình
- 3 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 9
Mô tả
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
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.