googleapis / googleapis/rules_gapic

feat: do not automatically generate gapic_library targets for protos that don't have a service

Open
#43 0 comments 0 reactions 0 assignees View on GitHub
priority: p2 type: feature request
Dominant language
Starlark
Stars
9
Forks
11
PR merge metrics
No merged PRs in 30d

Description

We currently generate gapic_library targets in the BUILD file for all protos, including protos that only contain messages (e.g. do not contain a service). We do not need to do that for protos that do not contain services.

We could either parse the proto itself for a service, or look at the yaml file for APIs being referenced to determine whether gapic_library targets need to be included.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.