This repository has been archived by the owner on Jul 17, 2022. It is now read-only.
Replies: 2 comments
-
See for a way to express API errors.IMO ApolloError schould not be used for internal error, instead EntityNotFound which then is wrapped into problem details. In the end it depends on how the frontend would like to present errors. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This has been added to the REST API: 93a304a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1. Dig into graphql errors types and what they mean/best practices around using them
ApolloError
be used?2. Deduplicate error logic
At the moment we have string literals floating around in various places for error messages. We should:
Shipment not found
orShipment does not exist
?)Beta Was this translation helpful? Give feedback.
All reactions