Closed awfm9 closed 3 years ago
As you can see, unless we make some changes, rerunning go generate after the version upgrade has no effect on the headers of the generated code:
go generate
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 // protoc v3.17.0 // source: api.proto
This is because the way our go generate target was built was wrong. It never ever regenerated the contents of api.pb.go but only added tags to it.
api.pb.go
This is fixed in https://github.com/optakt/flow-dps/pull/420, which also upgrades the version of protoc.
As you can see, unless we make some changes, rerunning
go generate
after the version upgrade has no effect on the headers of the generated code:This is because the way our
go generate
target was built was wrong. It never ever regenerated the contents ofapi.pb.go
but only added tags to it.This is fixed in https://github.com/optakt/flow-dps/pull/420, which also upgrades the version of protoc.