You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have integrated https://github.com/apollographql/apollo-server into NextJS api. Almost everything works as expected, except the subscription.
I have set up a very simple subscription as follows:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all
I have integrated https://github.com/apollographql/apollo-server into NextJS api. Almost everything works as expected, except the subscription.
I have set up a very simple subscription as follows:
Resolver:
Running the subscription, I have got:
What am I doing wrong? The code is hosted on https://github.com/softshipper/next-sub.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions