Closed igrek8 closed 4 years ago
Same for me. The old issues do not help at all, unfortunately. The subscription resolver is not even called.
Should fix https://github.com/nestjs/graphql/pull/667. It seems subscribe()
the method of @Subscription
decorator is not copied to the final resolvers object.
Fixed in 7.0.4. Thanks for reporting & PR!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Bug Report
Forked
nest-typescript-starter
. Tried examplenest/sample/23-graphql-code-first
Go http://127.0.0.1:3000/graphql and subscribe:
API returns:
Potential cause
https://github.com/nestjs/graphql/pull/250/commits/67229099709d6753bc59cc16229ca015834bd420
Expected behavior
Subscription should work
Environment