cosmo icon indicating copy to clipboard operation
cosmo copied to clipboard

Support for Propagating Subgraph extensions in Response

Open ChingT opened this issue 6 months ago • 3 comments

Component(s)

No response

Is your feature request related to a problem? Please describe.

I want to propagate the extensions fields from subgraph successful responses to the top level of the final client response.

For example:

{
  "data": "something",
  "extensions": {
    "code": "WARNING",
    "message": "this is a warning"
  }
}

At the moment, it seems like this isn’t currently possible.

Describe the solution you'd like

Is there a recommended approach or any plan to support this behavior?

Describe alternatives you've considered

Perhaps similar to how Apollo Router handles it? Reference: Apollo Router Issue #2504

Additional context

No response

ChingT avatar May 09 '25 11:05 ChingT