From e67a33058e69a9c93c40bdc87fb2d3a016af2667 Mon Sep 17 00:00:00 2001 From: Arvind Bright Date: Wed, 3 Jul 2024 13:39:12 -0700 Subject: [PATCH] cmd/protoc-gen-go-grpc: default use_generic_streams_experimental to true --- cmd/protoc-gen-go-grpc/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/protoc-gen-go-grpc/main.go b/cmd/protoc-gen-go-grpc/main.go index 6485ab8f2052..82f3578ff057 100644 --- a/cmd/protoc-gen-go-grpc/main.go +++ b/cmd/protoc-gen-go-grpc/main.go @@ -57,7 +57,7 @@ func main() { var flags flag.FlagSet requireUnimplemented = flags.Bool("require_unimplemented_servers", true, "set to false to match legacy behavior") - useGenericStreams = flags.Bool("use_generic_streams_experimental", false, "set to true to use generic types for streaming client and server objects; this flag is EXPERIMENTAL and may be changed or removed in a future release") + useGenericStreams = flags.Bool("use_generic_streams_experimental", true, "set to true to use generic types for streaming client and server objects; this flag is EXPERIMENTAL and may be changed or removed in a future release") protogen.Options{ ParamFunc: flags.Set,