MichalLytek / type-graphql

Create GraphQL schema and resolvers with TypeScript, using classes and decorators!
https://typegraphql.com
MIT License
8.03k stars 676 forks source link

docs: fix pubSub.publish code example #1710

Closed Romakita closed 3 months ago

Romakita commented 3 months ago

Typegraphql doesn't provide PubSub decorator. it provide only an interface. The code example should call pubSub instance created before to publish a notification.

Romakita commented 3 months ago

I'll rebase the branche.