loopbackio / loopback4-extension-grpc

gRPC Extension for LoopBack 4
Other
18 stars 8 forks source link

Add streamings and TLS #44

Open NorthBlue333 opened 3 years ago

NorthBlue333 commented 3 years ago

Description

While working on a work project, I had to implement gRPC in Loopback 4. After implementing streams and TLS, I thought it might be useful to others. I am sorry for not following all the rules to contribute to Loopback 4, but I am trying ! I am of course open to suggestions.

This PR adds :

Also, I have updated the protoc binaries, and switched to proto-ts plugin to generate Typescript interfaces.

I have also added tests to cover all changes, but editing your hosts file is needed to run both TLS and mTLS tests.

Finally, I tried to add docs for all these implementations.

Note: most packages have been updated too.

Related issues

Checklist