Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(bazel): throw RuntimeExceptions, including missing chsarp_namespace #177

Merged
merged 1 commit into from
Aug 18, 2023

Conversation

noahdietz
Copy link
Contributor

@noahdietz noahdietz commented Aug 18, 2023

Throw an exception when the option csharp_namespace is missing for a type-only proto. This also removes the code that "silenced" RuntimeException s so that generation actually fails when they are encountered.

The alternative is to silently allow a value like "{{csharp_namespace}}" to be generated, which would pass the build when it shouldn't.

@noahdietz noahdietz requested review from a team as code owners August 18, 2023 17:41
@noahdietz noahdietz added the automerge Merge the pull request once unit tests and other checks pass. label Aug 18, 2023
@noahdietz noahdietz merged commit ee90649 into googleapis:main Aug 18, 2023
4 checks passed
@noahdietz noahdietz deleted the throw-missing-csharp branch August 18, 2023 17:50
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants