This code relates to mercurius-js/mercurius#370 and is based on the sample code given in this Gist: https://gist.github.com/0x77dev/af60ef51e5405393c311f652ddd14289
Build: tsc *.ts Run: node first.service.js node gateway.js
Open browser to http://127.0.0.1:3030/playground
Use the following query:
subscription { counter { count } }