You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# rm -rf gen && buf generate --template buf.directory.invalid.gen.yaml && tree gen
Failure: decode config file: option branch is not allowed for InputConfigType directory
18:17
# buf generate
Failure: decode buf.gen.yaml: invalid as version v2: could not unmarshal as YAML: yaml: unmarshal errors:
line 10: field option not found intype bufconfig.externalManagedOverrideConfigV2
Expected Output
This case came up for buf generate, but this a general note on the errors when handling configs -- we are returning the marshal/unmarshal errors, which leak some internal types (e.g. InputConfigType), which may not be helpful to the user. We may want to rework these error messages.
Anything else?
No response
The text was updated successfully, but these errors were encountered:
GitHub Repository
N/A
Commands
Output
Expected Output
This case came up for
buf generate
, but this a general note on the errors when handling configs -- we are returning the marshal/unmarshal errors, which leak some internal types (e.g.InputConfigType
), which may not be helpful to the user. We may want to rework these error messages.Anything else?
No response
The text was updated successfully, but these errors were encountered: