package.json
"dependencies": {
"fastify": "^4.3.0",
"mercurius": "^10.1.0",
"mercurius-codegen": "^4.0.1",
}
Steps to reproduce:
TypeScript errors in generated code:
src/generated.ts:148:33 - error TS2304: Cannot find name '_Service'.
148 _Service: ResolverTypeWrapper<_Service>;
~~~~~~~~
This issue is persistent for many months. I wonder why this is happening. Previously we had a working version and just removed broken code from file so the typings would work correctly.