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

[ Help: Federation Subscription ] integrating graphql-redis-subscriptions into pothos #844

Open
chrisgate opened this issue Mar 18, 2023 · 2 comments

Comments

@chrisgate
Copy link

chrisgate commented Mar 18, 2023

I understand because services live in their own world and subscription became issues and from reading I found this among others interesting Example and ReadMe

I was able to set it up but making pothos aware of is the challenge here.

Thank you

@hayes
Copy link
Owner

hayes commented Jun 23, 2023

Not sure if you ever figured this out. There are some type issues with the package you linked to that make this a bit tricky to use.

davidyaha/graphql-redis-subscriptions#555
This thread here may also have some helpful information: #674

@JipSterk
Copy link
Contributor

when this pr is merged & released you should be able to use subscriptions in federated graphs if you use graphql-yoga

Instead of using redis it uses SSE (Server-Sent events) I don't know if this is what you are looking for. but it looks very promising.

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