Using the type
option results in non-deterministic ordering of file dependencies
#3506
Labels
Bug
Something isn't working
GitHub repository with your minimal reproducible example (do not leave this field blank or fill out this field with "github.com/bufbuild/buf" or we will automatically close your issue, see the instructions above!)
https://github.com/haines/buf-dependency-order
Commands
# Run `buf build protos --type hub.playground.v1.CerbosService --output descriptors.yaml` until a diff is found ./repro
Output
Expected Output
The file's
dependency
list should be in a deterministic order, so that no diff is produced. This is the case if the--type
option is omitted.Anything else?
Initially reported as bufbuild/protobuf-es#1030
The text was updated successfully, but these errors were encountered: