Skip to content

Fail to generate a proto with "routing" annotation #579

@summer-ji-eng

Description

@summer-ji-eng

Nodejs-bigtable fails on recently generating process. issue

Can't compile the generated code with a proto with new introduced google.api.routing annotation. proto

Generator is able to generate surface client library, but the generated client library fails on compiling.
Because to access the proto message property it require camelcase word than snakecase.

To reproduce the error, under the generator repo:

$ bazel build //...
$ bazel run //:gapic_generator_typescript --      --iam-service     --output-dir /tmp/bigtable2     -I "$GOOGLEAPIS"     --grpc-service-config "$GOOGLEAPIS/google/$APINAME/v2/${APINAME}_grpc_service_config.json"     --service-yaml "$GOOGLEAPIS/google/$APINAME/v2/${APINAME}_v2.yaml"      `find "$GOOGLEAPIS/google/$APINAME/v2" -name '*.proto'`     "$GOOGLEAPIS/google/cloud/common_resources.proto"

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions