We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f9709b commit 647fa5eCopy full SHA for 647fa5e
src/app.module.ts
@@ -21,3 +21,7 @@ import { BullModule } from '@nestjs/bull';
21
],
22
})
23
export class AppModule {}
24
+
25
+/**
26
+ * forRoot() or forFeature()
27
+ */
src/main.ts
@@ -1,8 +1,10 @@
1
import { NestFactory } from '@nestjs/core';
2
import { AppModule } from './app.module';
3
+import { ProductsGrpcServer } from './products/products-grpc-server';
4
5
async function bootstrap() {
6
const app = await NestFactory.create(AppModule);
7
+ console.log(app.get(ProductsGrpcServer));
8
await app.listen(3000);
9
}
10
bootstrap();
0 commit comments