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

Subscriptions - example. #45

Open
mrfy opened this issue Mar 11, 2021 · 6 comments
Open

Subscriptions - example. #45

mrfy opened this issue Mar 11, 2021 · 6 comments

Comments

@mrfy
Copy link

mrfy commented Mar 11, 2021

Hi Mr Ali Rizwan,

Could you please create some example of how to use Subscription?

{mySubs: { output: '[myType]', resolver: customResolver, subscriber: customSubscriber }}

Especially how to build a subscriber from the documentation example above. Many other examples are in the tests in the repo, unfortunately I could not find subscription examples.

Thank you!

@alirizwan
Copy link
Collaborator

Hi, Subscriptions are being re-done in the newer version. If you want to keep using the current version I can prepare an example of that and share with you.

@mrfy
Copy link
Author

mrfy commented Mar 17, 2021

Hi, thank you for answer. Will it be a complete change of approach in the new version? We still use v.0.1.71 in our project.

@alirizwan
Copy link
Collaborator

alirizwan commented Mar 17, 2021 via email

@mrfy
Copy link
Author

mrfy commented Mar 19, 2021

Then could you please make an example lin version 0.x? We will update the package.

@alirizwan
Copy link
Collaborator

unfortunately 0.x also don't support subscriptions out of the box however it's in progress for the next version. However if you want some help in this regard it would be better if we can schedule a quick zoom/gmeet/discord call?

@szsolutions
Copy link

Hi, i am interested in subscriptions. do you have an example with the actual version or when do you plan the next?

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