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

feat: Support custom context #2930

Closed
wants to merge 1 commit into from

Conversation

alberthuang24
Copy link

@alberthuang24 alberthuang24 commented Oct 8, 2021

🚨 IMPORTANT: Please do not create a Pull Request without creating an issue first.

Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request.

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes #2856

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

@changeset-bot
Copy link

changeset-bot bot commented Oct 8, 2021

⚠️ No Changeset found

Latest commit: 211e644

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ardatan ardatan force-pushed the master branch 2 times, most recently from 39e5048 to 7ef75ea Compare November 11, 2021 12:46
@ardatan ardatan force-pushed the master branch 6 times, most recently from faf42fd to a1c915a Compare December 8, 2021 11:37
@ardatan
Copy link
Owner

ardatan commented Feb 18, 2022

Thank you for your PR!
We're currently thinking of using Envelop to extend Mesh's capabilities. So I believe Envelop's context related plugins will probably solve this issue in more generic way.
I'll let you know so you can test it with the alpha versions.

@ardatan
Copy link
Owner

ardatan commented Jul 20, 2022

You can use envelop plugins to extend the context as described in here;
https://www.graphql-mesh.com/docs/getting-started/customize-mesh-server#configure-and-provide-envelop-plugins

Thanks for the PR anyway :)

@ardatan ardatan closed this Jul 20, 2022
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

Successfully merging this pull request may close these issues.

Add a custom context
2 participants