Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support gRPC stream API #855

Merged
merged 8 commits into from
Feb 21, 2021
Merged

feat: support gRPC stream API #855

merged 8 commits into from
Feb 21, 2021

Conversation

czy88840616
Copy link
Member

@czy88840616 czy88840616 commented Feb 20, 2021

  • 1、支持 grpc 流式调用和服务
  • 2、重写客户端 API

@gitpod-io
Copy link

gitpod-io bot commented Feb 20, 2021

@czy88840616 czy88840616 changed the title test: add metadata case feat: add metadata case Feb 20, 2021
@czy88840616 czy88840616 changed the title feat: add metadata case feat: support gRPC stream API Feb 20, 2021
@codecov-io
Copy link

codecov-io commented Feb 21, 2021

Codecov Report

Merging #855 (0ffaee4) into 2.x (0766db1) will decrease coverage by 0.01%.
The diff coverage is 84.65%.

Impacted file tree graph

@@            Coverage Diff             @@
##              2.x     #855      +/-   ##
==========================================
- Coverage   87.12%   87.10%   -0.02%     
==========================================
  Files         171      175       +4     
  Lines        6848     7049     +201     
  Branches     1334     1400      +66     
==========================================
+ Hits         5966     6140     +174     
- Misses        852      876      +24     
- Partials       30       33       +3     
Impacted Files Coverage Δ
packages/decorator/src/microservice/provider.ts 51.61% <54.54%> (+3.78%) ⬆️
...ckages/grpc/src/comsumer/type/writeable-request.ts 80.95% <80.95%> (ø)
...ackages/grpc/src/comsumer/type/readable-request.ts 81.81% <81.81%> (ø)
packages/grpc/src/comsumer/type/duplex-request.ts 83.72% <83.72%> (ø)
packages/grpc/src/provider/framework.ts 91.39% <86.36%> (-2.55%) ⬇️
packages/grpc/src/comsumer/type/unary-request.ts 86.95% <86.95%> (ø)
packages/grpc/src/comsumer/clients.ts 95.91% <100.00%> (+5.59%) ⬆️
...ckages-serverless/runtime-engine/src/lib/logger.ts 73.52% <0.00%> (ø)
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0766db1...0ffaee4. Read the comment docs.

@czy88840616 czy88840616 merged commit bd51c46 into 2.x Feb 21, 2021
@czy88840616 czy88840616 deleted the support_grpc_send_metadata branch February 21, 2021 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants