Skip to content

Commit

Permalink
BC-8311 - fix circular dependency between modules (#5311)
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenWaysDP authored and HKayed committed Oct 24, 2024
1 parent 0c2af99 commit e9a18b8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/server/src/modules/group/group.module.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { Module } from '@nestjs/common';
import { forwardRef, Module } from '@nestjs/common';
import { CqrsModule } from '@nestjs/cqrs';
import { RoleModule } from '../role';
import { UserModule } from '../user';
import { GroupRepo } from './repo';
import { GroupService } from './service';
import { UserModule } from '../user';
import { RoleModule } from '../role';

@Module({
imports: [UserModule, RoleModule, CqrsModule],
imports: [forwardRef(() => UserModule), RoleModule, CqrsModule],
providers: [GroupRepo, GroupService],
exports: [GroupService],
})
Expand Down

0 comments on commit e9a18b8

Please sign in to comment.