Skip to content

Commit

Permalink
ci: 1
Browse files Browse the repository at this point in the history
  • Loading branch information
waitingsong committed Nov 13, 2024
1 parent a2f9225 commit b5d46f5
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { GrpcMethod, GrpcStreamTypeEnum, MSProviderType, Provide, Provider } from '@midwayjs/core';
import { GrpcMethod, GrpcStreamTypeEnum, Inject, MSProviderType, Provide, Provider } from '@midwayjs/core';
import { Context } from '../../../../../src';
import { math } from '../interface';
import { Metadata } from '@grpc/grpc-js';

Expand All @@ -8,6 +9,9 @@ import { Metadata } from '@grpc/grpc-js';
@Provider(MSProviderType.GRPC, { package: 'math' })
export class Math implements math.Math {

@Inject()
ctx: Context;

sumDataList = [];

@GrpcMethod()
Expand Down

0 comments on commit b5d46f5

Please sign in to comment.