mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
7467925aa1
* Fetch status.proto from remote, simplify JS gRPC codegen Fetch the `status.proto` file (part of the standard gRPC distribution) from a distribution channel. _Moreover_, use the recently introduced `proto_gen` rule to simplify how the gRPC code for the Node.js bindings are generated (and remove the need to have `google/rpc/status.proto` locally in the repository. * Add plugin_runfiles option to proto_gen This allows use to add additional files to the bazel sandbox so that plugins can refer to them. This will subsequently be used by the protoc-gen-doc plugin. Also, pass the plugin options via --name_opt parameter. * Add missing status.proto dependency /language-support/java and /ledger * Build proto docs using the proto_gen rule To make this work, I had to turn on the bazel build flag `--protocopt=--include_source_info` because we cannot turn enable this flag only for specific build rules. * Make /ledger-api/grpc-definitions:docs public again * Revert to the old style of passing plugin arguments to --name_out=options:path * Suppress output of unzipping * Fix link for google.rpc.Status in proto-docs |
||
---|---|---|
.. | ||
codegen-main | ||
java | ||
js | ||
scala |