-
In my Graph QL query handler, it has to pull together data from multiple APIs by using Field Resolvers. If any one of the field resolvers fail to get a response, I still need to send back what has been successful but want to be able to advise the consumer that a particular (sub) data set is not available, in the example.
If the query is unable to retrieve the orders for this customer, then, still return the customer details, but with the As the main query returns |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Well, I'll answer my own question - You can build an
|
Beta Was this translation helpful? Give feedback.
Well, I'll answer my own question - You can build an
error
within the resolver and attach it to the request context.