updating dynamic module to configurable module builder
This commit is contained in:
13
libs/modules/src/dapr/dapr.service.ts
Normal file
13
libs/modules/src/dapr/dapr.service.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Injectable, Logger } from '@nestjs/common';
|
||||
import { DaprClient } from '@dapr/dapr';
|
||||
|
||||
@Injectable()
|
||||
export class DaprService {
|
||||
daprClient: DaprClient;
|
||||
private readonly logger = new Logger(DaprService.name);
|
||||
|
||||
constructor() {
|
||||
this.logger.log('Initializing DaprClient')
|
||||
this.daprClient = new DaprClient();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user