-
Notifications
You must be signed in to change notification settings - Fork 280
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
Support inputs in buf.gen.yaml #1424
Comments
Regarding point 2, Based on #1407 (comment) we may revisit the input agnostic idea of buf.gen.yaml in the future. This ticket is linked now and we'll take the feedback into account for those discussions. |
This isn't going to happen in the near-term, but is something we're reconsidering. Generally, we may want buf.gen.yaml files to be input-aware. Going to keep open for now. |
When looking at this issue in the future, we should also look at #1407 - going to close that issue and track this only here. |
Another use case (similar to #1407) would be to allow type filtering and (a new feature) option redaction at the plugin level. The latter would be useful to omit certain options from generated code in order to not ship them in a frontend bundle (bufbuild/protobuf-es#397). |
Before adding an inputs section, you can have the rest of your
or
if your |
Usage Scenario
Generate multiple BSR modules
Expected
buf.gen.yaml
The text was updated successfully, but these errors were encountered: