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

Pass context to useSubscription() #7223

Closed
vendramini opened this issue Oct 23, 2020 · 1 comment
Closed

Pass context to useSubscription() #7223

vendramini opened this issue Oct 23, 2020 · 1 comment
Assignees

Comments

@vendramini
Copy link

Hey, guys.

I've some different links in my client and I decide which one to use based on some information passed on context. It's possible to pass context from useQuery, useMutation and subscribeToMore's function returned by useQuery.

But when I try to pass context using useSubscription it doesn't works. Is this intentional?

Cheers!

Versions

  System:
    OS: Linux 5.0 Linux Mint 19.1 (Tessa)
  Binaries:
    Node: 12.16.3 - ~/.nvm/versions/node/v12.16.3/bin/node
    Yarn: 1.22.5 - /usr/bin/yarn
    npm: 6.14.4 - ~/.nvm/versions/node/v12.16.3/bin/npm
  Browsers:
    Chrome: 86.0.4240.111
    Firefox: 82.0
  npmPackages:
    @apollo/client: ^3.2.5 => 3.2.5 
    apollo-upload-client: ^14.1.2 => 14.1.2 
    next-with-apollo: ^5.1.0 => 5.1.0 
@toxeus
Copy link

toxeus commented Mar 22, 2021

This has been fixed in #7860 and can be closed.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants