Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.

Subscription Support #145

Open
Hitabis opened this issue May 3, 2019 · 2 comments
Open

Subscription Support #145

Hitabis opened this issue May 3, 2019 · 2 comments

Comments

@Hitabis
Copy link

Hitabis commented May 3, 2019

Is there a release plan for subscription in yoga2? Or is it blocked by #12?

Error : Subscription are not supported yet

This would be a key feature to us. Even more important than middleware since you can use custom middleware by ejecting.

@Weakky
Copy link
Contributor

Weakky commented May 16, 2019

Hey there,

Nexus-prisma currently doesn't support subscription for auto-generated resolvers. You can however make the resolvers yourself using the client.

Please check out this release note which explains how to deal with subscriptions atm: https://github.com/prisma/nexus-prisma/releases/tag/v0.3.7

Side note: Even though the ***SubscriptionPayload type appears not to exist on the autocompletion, let the server restart and you should be good 🙏

@Hitabis
Copy link
Author

Hitabis commented May 16, 2019

Thanks. I will try this.

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

2 participants