-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Pass context from subscriptions through to links #4925
Pass context from subscriptions through to links #4925
Conversation
@sgtpepper43: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Meteor Contributor Agreement here: https://contribute.meteor.com/ |
027dda5
to
24be8fa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks very much for your initial work on this @sgtpepper43!
@benjamn we should be all set here, but let me know if I should go ahead and merge or if you would prefer to wait until after your recent large round of refactoring is in place.
Makes sure a supplied `context` object is passed through the link execution chain, when set in `client.subscribe` options.
24be8fa
to
867ca5f
Compare
@hwillson any ETA when will this be released? |
@promontis It will be available in the next RC release, which will probably be later today. |
Resolves apollographql/apollo-feature-requests#93
Allow a context to be supplied when creating subscriptions, and pass that context through to the links.
There are a bunch of other changes in here that I'm pretty sure was made by the linter or prettier or whatever you've got going. Some pre-commit hook that automatically ran. I'll mark those changes and I can get rid of them if you want.
Checklist: