Product
Hot Chocolate
Version
16.1.0-p.1.11
Link to minimal reproduction
https://github.com/moeb-trackman/HotChocolate-Fusion-Bug/
Steps to reproduce
Return an request-level error within a resolver in a subgraph
context.ReportError("This is an error message from the resolver.");
Running the query against subgraph returns the request-level error but gateway does not.
What is expected?
Gateway must propagate the request-level error of subgraphs to the response
{
"errors": [
{
"message": "This is an error message from the resolver.",
"path": [
"orders"
]
}
]
"data": {}
}
What is actually happening?
{
"data": {}
# NO ERROR !
}
Relevant log output
Additional context
No response
Product
Hot Chocolate
Version
16.1.0-p.1.11
Link to minimal reproduction
https://github.com/moeb-trackman/HotChocolate-Fusion-Bug/
Steps to reproduce
Return an request-level error within a resolver in a subgraph
Running the query against subgraph returns the request-level error but gateway does not.
What is expected?
Gateway must propagate the request-level error of subgraphs to the response
{ "errors": [ { "message": "This is an error message from the resolver.", "path": [ "orders" ] } ] "data": {} }What is actually happening?
{ "data": {} # NO ERROR ! }Relevant log output
Additional context
No response