Commit b1f9017
authored
Bug fix: proto: add gofeaturespb as well-known type; Go Protobuf ships it (#4279)
go_features.proto was introduced with Go Protobuf v1.33.0 (March 2024):
protocolbuffers/protobuf-go@2040e86
…but with the release of the Go Protobuf Opaque API in December 2024,
more users will be interested in making use of this file to configure
the generated API that their .proto files should use.
Without this change, building a go_proto_library() whose .proto sets the
API level to the Opaque API as documented at
https://protobuf.dev/reference/go/opaque-migration/ would fail with this
error message:
compilepkg: missing strict dependencies:
…/execroot/_main/bazel-out/k8-fastbuild/bin/dumbdata_go_proto_/
github.com/cshabsin/nih/dumbdata_go_proto/dumb_data.pb.go:
import of "google.golang.org/protobuf/types/gofeaturespb"
No dependencies were provided.
For golang/protobuf#16791 parent cf3c3af commit b1f9017
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
0 commit comments