Skip to content

common protos are added in the generated proto list #654

@xiaozhenliu-gg5

Description

@xiaozhenliu-gg5

The generated proto list has unneeded common protos which is in gax, but not in the generator. So including those set of protos like google.api.annotations.proto will give the below error.

UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open 'protos/google/api/annotations.proto'

It’s because that the api depends on other apis which have different paths so that the commonprefix which is used to filter the protos is incorrect.

use case: nodejs-asset, nodejs-containeranalysis.

Metadata

Metadata

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