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

Support subscriptions using crud #827

Open
brielov opened this issue Sep 5, 2020 · 1 comment
Open

Support subscriptions using crud #827

brielov opened this issue Sep 5, 2020 · 1 comment

Comments

@brielov
Copy link

brielov commented Sep 5, 2020

Nexus is going to support subscriptions soon. Are there any plans to combine crud and subscriptions?
https://github.com/graphql-nexus/nexus/pull/1397

@MikaStark
Copy link

MikaStark commented Nov 20, 2020

Nexus is deprecated you should not looking at the repo anymore. Now you should use @nexus/schema combined with an Apollo-server (or maybe another GQL server solution). Apollo handles very well subscriptions. Unfortunately, for now, prisma doesn’t have a real-time API but it’s planned (see on the official website). But it’s not big deal you can provide your own subscriptions by using apollo pubsub. If you are using crud experimental solution you can use middlewares to fire your own subscriptions.

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

2 participants