graphql-platform icon indicating copy to clipboard operation
graphql-platform copied to clipboard

Fusion exposes subgraph errors without `path`

Open tobias-tengler opened this issue 4 months ago • 0 comments

Product

Hot Chocolate

Version

14.0.0-p.36

Link to minimal reproduction

https://github.com/ChilliCream/graphql-platform/pull/6916

Steps to reproduce

Look at the tests linked in the PR above.

What is expected?

I'd expect subgraph errors to be mapped into the fusion response with a path. The path should also be rewritten to the location in the fusion request document.

What is actually happening?

There is no path in the errors that get returned as part of the response from the Fusion server, which is not spec compliant and causes issues with error handling clients like Relay.

Relevant log output

No response

Additional context

No response

tobias-tengler avatar Feb 18 '24 18:02 tobias-tengler