Closed
Description
What version of gRPC are you using?
1.66.0
What version of Go are you using (go version
)?
1.23.0
What operating system (Linux, Windows, …) and version?
macOS
What did you do?
import (
"google.golang.org/grpc/encoding/proto"
"google.golang.org/grpc/encoding"
)
var protoCodec = encoding.GetCodec(proto.Name)
What did you expect to see?
Valid proto codec in the variable.
What did you see instead?
Updated from 1.65.0 to 1.66.0 and tests panicked.
The variable is nil
.
This is obviously a breaking change that will affect people. I don't mind, I'm going to change my code to use v2 codecs, so it's more of a FYI. Really looking forward to the performance improvements of new codecs.