We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2dbcf2 commit 972120aCopy full SHA for 972120a
cmd/protoc-gen-go-aip/main.go
@@ -8,6 +8,7 @@ import (
8
9
"go.einride.tech/aip/cmd/protoc-gen-go-aip/internal/genaip"
10
"google.golang.org/protobuf/compiler/protogen"
11
+ "google.golang.org/protobuf/types/pluginpb"
12
)
13
14
func main() {
@@ -27,6 +28,7 @@ func main() {
27
28
protogen.Options{
29
ParamFunc: flags.Set,
30
}.Run(func(plugin *protogen.Plugin) error {
31
+ plugin.SupportedFeatures = uint64(pluginpb.CodeGeneratorResponse_FEATURE_PROTO3_OPTIONAL)
32
return genaip.Run(plugin, genaip.Config{
33
IncludeResourceDefinitions: *includeResourceDefinitions,
34
})
0 commit comments