Skip to content

Commit

Permalink
Make grpc-es ES Module (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
kanziw authored Aug 13, 2024
1 parent ac70dee commit fd610aa
Show file tree
Hide file tree
Showing 9 changed files with 361 additions and 9 deletions.
4 changes: 4 additions & 0 deletions packages/grpc-es/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,8 @@ new GrpcEsServer({ jsonOptions: { useProtoFieldName: true } })
console.log(`🏃 Grpc Server is running on port ${PORT}`)
```

### Limitations

This project currently supports only "UnaryCall" in gRPC calls. Other gRPC call types, such as server streaming, client streaming, and bidirectional streaming, are not supported at this time.

For more information, see the [documentation](https://connectrpc.com/docs/node/getting-started).
3 changes: 3 additions & 0 deletions packages/grpc-es/buf.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ deps:
- name: buf.build/googleapis/googleapis
commit: 8bc2c51e08c447cd8886cdea48a73e14
digest: b5:b7e0ac9d192bd0eae88160101269550281448c51f25121cd0d51957661a350aab07001bc145fe9029a8da10b99ff000ae5b284ecaca9c75f2a99604a04d9b4ab
- name: buf.build/protocolbuffers/wellknowntypes
commit: ee20af7d5b6044139bb9051283720274
digest: b5:690b89ac58ca2ddc9b34eac662d8348754b464c9acc689caf4a4bea613f0704124636a53e5dbc0cc4ea2efeb696b560537f96bc1188419b94c1dcf86c997f6a3
1 change: 1 addition & 0 deletions packages/grpc-es/buf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: v2
modules:
- path: example/proto
deps:
- buf.build/protocolbuffers/wellknowntypes
- buf.build/googleapis/googleapis
breaking:
use:
Expand Down
29 changes: 28 additions & 1 deletion packages/grpc-es/example/gen/example/v1/example_connect.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

278 changes: 277 additions & 1 deletion packages/grpc-es/example/gen/example/v1/example_pb.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fd610aa

Please sign in to comment.