Azure / Azure/data-api-builder
Error specification: specification on non-success cases
Offen
cosmos
needs discussion
question
usability
- Vorherrschende Sprache
- C#
- Sterne
- 1.5k
- Forks
- 370
- Ø Merge
- 3 T. 22 Std.
- Gemergte PRs (30 T.)
- 9
Beschreibung
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
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.