fix: unknown resources do not cause a generator crash by software-dov · Pull Request #675 · googleapis/gapic-generator-python · GitHub
Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

fix: unknown resources do not cause a generator crash#675

Merged
gcf-merge-on-green[bot] merged 2 commits into
googleapis:masterfrom
software-dov:resource-for-real
Oct 20, 2020
Merged

fix: unknown resources do not cause a generator crash#675
gcf-merge-on-green[bot] merged 2 commits into
googleapis:masterfrom
software-dov:resource-for-real

Conversation

@software-dov

Copy link
Copy Markdown
Contributor

Some resource references do not map to actual known resource types,
e.g. from the Logging API
string destination = 3 [
(google.api.resource_reference) = {
type: "*"
}
];

It's easiest to just ignore invalid resource types.

Some resource references do not map to actual known resource types,
e.g. from the Logging API
string destination = 3 [
    (google.api.resource_reference) = {
        type: "*"
    }
];

It's easiest to just ignore invalid resource types.
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 20, 2020
@software-dov software-dov added the automerge Merge the pull request once unit tests and other checks pass. label Oct 20, 2020
@codecov

codecov Bot commented Oct 20, 2020

Copy link
Copy Markdown

@gcf-merge-on-green gcf-merge-on-green Bot merged commit 2d23d7d into googleapis:master Oct 20, 2020
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Oct 20, 2020
@software-dov software-dov deleted the resource-for-real branch October 20, 2020 22:21
gcf-merge-on-green Bot pushed a commit that referenced this pull request Oct 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants