We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97db756 commit d48e638Copy full SHA for d48e638
1 file changed
src/benchmarks/benchmark.module.ts
@@ -1,13 +1,21 @@
1
-import { Module } from '@nestjs/common';
+import {
2
+ Module,
3
+ forwardRef,
4
+} from '@nestjs/common';
5
+import { UsersModule } from 'src/users/users.module';
6
import { TypeOrmModule } from '@nestjs/typeorm';
7
import { Benchmark } from './benchmark.entity';
8
import { BenchmarkService } from './benchmark.service';
9
import { BenchmarkController } from './benchmark.controller';
10
11
@Module({
- imports: [TypeOrmModule.forFeature([Benchmark])],
12
+ imports: [TypeOrmModule.forFeature([Benchmark]),
13
+ forwardRef(() => UsersModule),
14
+ ],
15
providers: [BenchmarkService],
16
controllers: [BenchmarkController],
17
exports: [BenchmarkService],
18
+
19
})
-export class BenchmarkModule {}
20
+export class BenchmarkModule {
21
+}
0 commit comments