Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagate graphql extensions #4207

Open
munknex opened this issue Jul 28, 2022 · 5 comments
Open

Propagate graphql extensions #4207

munknex opened this issue Jul 28, 2022 · 5 comments

Comments

@munknex
Copy link

munknex commented Jul 28, 2022

I use graphql-mesh to filter schema of my graphql server.

I'd like to propagate extensions from original response through mesh.

For example I send transaction-id with every response.

Original response

{
  "data": {
    "hello": "world"
  },
  "extensions": {
    "transactionId": "c2338f77-df6d-41a5-8831-e3092cd7c521"
  }
}

After graphql-mesh:

{
  "data": {"hello": "world"}
}
@ardatan
Copy link
Owner

ardatan commented Jul 28, 2022

Currently it is not possible.

@munknex
Copy link
Author

munknex commented Jul 29, 2022

Any plans to implement? Any suggestions how patch should look like?

@mnlbox
Copy link

mnlbox commented Oct 28, 2023

@ardatan any plan for this??

@ardatan
Copy link
Owner

ardatan commented Oct 28, 2023

No plans for this before v1.

@mnlbox
Copy link

mnlbox commented Nov 2, 2023

Thanks, Can I achieve this by creating a custom plugin or it should be added to core level of @graphql-mesh/graphql handler package?

This was referenced Apr 30, 2024
This was referenced May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants