# All files / microservices/decorators grpc-service.decorator.ts

100% Statements 2/2
100% Branches 0/0
100% Functions 0/0
100% Lines 2/2

    1
    2
    3
    4
    5
    6
    7
    81x

    1x
     import { Controller } from '@nestjs/common';

    /**
     * Defines the GrpcService. The service can inject dependencies through constructor.
     * Those dependencies have to belong to the same module.
     */
    export const GrpcService = Controller;