To run:
yarn
yarn start
Check the subscription to the source:
- Go to
http://localhost:3002/graphql
- Run query
subscription {
eventtest {
a
}
}
Then go to http://localhost:3001/api
and try the same query.
It returns an error: Cannot read property 'eventtest' of undefined