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 hoeppner-dataport committed Oct 25, 2024
1 parent d288c5c commit 95257e7
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 95257e7

Please sign in to comment.