Cannot return null for non-nullable field Subscription.counter #5219
Unanswered
softshipper
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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