Tag: nest
-
Nest can’t resolve dependencies of the MessageResolver (?, PubSub)
0 message.module.ts: import { Module, forwardRef } from ‘@nestjs/common’; import { MessageResolver } from ‘./message.resolver’; import { MessageService } from ‘./message.service’; import { MongooseModule } from ‘@nestjs/mongoose’; import { Message, MessageSchema } from ‘./models/message.model’; import { UserModule } from ‘src/user/user.module’; import { GroupModule } from ‘src/group/group.module’; import { PubSub } from ‘graphql-subscriptions’; @Module({ imports: […