Oliver Sun

Results 8 comments of Oliver Sun

`buf.gen.yaml` v2 supports [multiple inputs](https://buf.build/docs/configuration/v2/buf-gen-yaml#inputs) now. Your file may look like: ``` version: v2 plugins: # ... inputs: - module: buf.build/googleapis/example1 - module: buf.build/googleapis/example2 - module: buf.build/googleapis/example3 ``` Before adding...

In `buf.gen.yaml` v2, you can now disable an option in [managed mode](https://buf.build/docs/generate/managed-mode): ``` version: v2 plugins: # ... managed: disable: - file_option: java_package ``` This prevents `java_package` from being modified...

Hi, for `buf generate` you can add [an inputs section in `buf.gen.yaml` v2](https://buf.build/docs/configuration/v2/buf-gen-yaml#inputs) to list out the types to generate. However, the `--type` flag is still needed for `buf build`....

Tested with (compared outputs) this: ``` #!/bin/bash # bufbin=$1 echo "default" BUF_BETA_SUPPRESS_WARNINGS=1 $bufbin beta registry draft list buf.build/googleapis/googleapis --format json | jq BUF_BETA_SUPPRESS_WARNINGS=1 $bufbin beta registry draft list buf.build/googleapis/googleapis --reverse...

Closing, see https://github.com/bufbuild/buf/pull/3039

> Can you remind me, was it primarily a few Go comments that changed between the previous diff and the current diff that lead to a merge conflict? Yes, the...

Yes, chatted with @doriable, we can close this one now.

> Verify that buf's lint rules for protovalidate catch the case where two fields in a oneof have required Yep, I just tested this. Running `buf lint` with the [`DEFAULT`...