Skip to content

Commit 286a0ed

Browse files
Merge pull request #2013 from yar2001/patch-1
Add a hint that developer can automatically generate Grpc proto interface by a third package
2 parents 087c9cc + 11692a4 commit 286a0ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/microservices/grpc.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,8 @@ interface HelloResponse {
395395
}
396396
```
397397

398+
> info **Hint** The proto interface can be automatically generated by the [ts-proto](https://github.com/stephenh/ts-proto) package, learn more [here](https://github.com/stephenh/ts-proto/blob/main/NESTJS.markdown).
399+
398400
#### Subject strategy
399401

400402
The `@GrpcStreamMethod()` decorator provides the function parameter as an RxJS `Observable`. Thus, we can receive and process multiple messages.

0 commit comments

Comments
 (0)