Closed squareheadc closed 1 year ago
I don’t see any status.WithDetails
in https://pkg.go.dev/google.golang.org/grpc@v1.57.0/status which package are you using?
P.S.: Hm, oh wait, it’s on the type itself in https://pkg.go.dev/google.golang.org/grpc@v1.57.0/internal/status#Status
I apologize for the confusion and for raising the issue in the wrong project. I will close this issue and seek help in the appropriate project. Thank you and sorry for any inconvenience caused.
What did you expect to see? I expected to successfully call the
WithDetails
method with a slice ofproto.Message
.What did you see instead? The compilation failed with the following error:
Anything else we should know about your project / environment? Despite the deprecation of the
github.com/golang/protobuf
package, the status package still uses it, leading to this issue. It’s not currently possible to use the recommendedgoogle.golang.org/protobuf/proto.Message
due to this. I believe this could be a potential problem for others who are also transitioning fromgithub.com/golang/protobuf
to the newergoogle.golang.org/protobuf
.