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

Is there any plan to support subscription? #27

Open
lynic opened this issue Aug 6, 2018 · 5 comments
Open

Is there any plan to support subscription? #27

lynic opened this issue Aug 6, 2018 · 5 comments

Comments

@lynic
Copy link

lynic commented Aug 6, 2018

No description provided.

@dmitshur
Copy link
Member

dmitshur commented Aug 7, 2018

Yes, it is a long term goal. However, I don't plan to work on this soon. It's not needed for githubv4 because the GitHub GraphQL API v4 doesn't make use of the feature.

If you have a need for this feature, I would suggest developing it in a fork. Once it's ready for general consumption, I'd be happy to eventually pull it in.

@adamgoose
Copy link

I recently needed a solution for this, and rolled my own. You'll notice that it's actually heavily based on the non-exported API of this package. I ended up copying two of those files from this package, because the APIs aren't exported.

https://gist.github.com/adamgoose/005cda8d9ce4030047e05e5b07953fd4

@theoks
Copy link

theoks commented Jun 6, 2019

@dmitshur is there any chance that the solution by @adamgoose be added in the package?

@imrajdas
Copy link

imrajdas commented Jul 10, 2020

Hi all, Any update on this issue?
Really need this feature, currently, no golang graphql client provide this feature.

@KlausVii
Copy link

https://github.com/hasura/go-graphql-client seems to provide subscriptions

grihabor pushed a commit to grihabor/graphql that referenced this issue Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

6 participants