Skip to content

Commit 647fa5e

Browse files
refactor() add anotations
1 parent 4f9709b commit 647fa5e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/app.module.ts

+4
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ import { BullModule } from '@nestjs/bull';
2121
],
2222
})
2323
export class AppModule {}
24+
25+
/**
26+
* forRoot() or forFeature()
27+
*/

src/main.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import { NestFactory } from '@nestjs/core';
22
import { AppModule } from './app.module';
3+
import { ProductsGrpcServer } from './products/products-grpc-server';
34

45
async function bootstrap() {
56
const app = await NestFactory.create(AppModule);
7+
console.log(app.get(ProductsGrpcServer));
68
await app.listen(3000);
79
}
810
bootstrap();

0 commit comments

Comments
 (0)