This commit is contained in:
@@ -0,0 +1 @@
|
||||
export * from './inject-grpc-client.decorator'
|
||||
@@ -0,0 +1,6 @@
|
||||
import { Inject } from '@nestjs/common'
|
||||
|
||||
import { GRPC_CLIENT_PREFIX } from '../constants/grpc.constants'
|
||||
|
||||
export const InjectGrpcClient = (name: string) =>
|
||||
Inject(`${GRPC_CLIENT_PREFIX}_${name}`)
|
||||
Reference in New Issue
Block a user