Skip to content

Allowing a go_proto_compiler to indicate whether it always generate files #4364

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

Merged
merged 4 commits into from
May 28, 2025

Conversation

linzhp
Copy link
Contributor

@linzhp linzhp commented May 26, 2025

What type of PR is this?
Feature

What does this PR do? Why is it needed?
This PR allows a go_proto_compiler to indicate whether it always generate files, if so, we can apply more strict check to the output of the proto compiler.

Which issues(s) does this PR fix?

This is an alternative way to fix #3949

Other notes for review

@fmeum fmeum requested a review from jayconrod May 26, 2025 19:19
@linzhp
Copy link
Contributor Author

linzhp commented May 26, 2025

@sluongng @Moersity can you test this?

@linzhp linzhp merged commit fc0cf79 into bazel-contrib:master May 28, 2025
1 check passed
@linzhp linzhp deleted the strict branch May 28, 2025 22:34
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.

Proposal: Fail protoc code gen on missing expected output files
3 participants