You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What operating system (Linux, Windows, …) and version?
macOS
What did you do?
I was trying to call status.WithDetails using a slice of []proto.Message from the recommended library google.golang.org/protobuf/proto. Here is my code snippet:
I expected to call status.WithDetails without any issues using the recommended google.golang.org/protobuf/proto package.
What did you see instead?
I encountered an error that prevents me from using the call as intended:
cannot use detail (variable of type []protoreflect.ProtoMessage) as []protoiface.MessageV1 value in argument to se.WithDetails
Since the github.com/golang/protobuf package is deprecated, the use of github.com/golang/protobuf within the status package conflicts with the recommended package. Could you please check and provide a workaround or update the package to make it compatible with the recommended package?
The text was updated successfully, but these errors were encountered:
What version of gRPC are you using?
google.golang.org/grpc v1.57.0
What version of Go are you using (
go version
)?go 1.21.0
What operating system (Linux, Windows, …) and version?
macOS
What did you do?
I was trying to call
status.WithDetails
using a slice of[]proto.Message
from the recommended librarygoogle.golang.org/protobuf/proto
. Here is my code snippet:What did you expect to see?
I expected to call
status.WithDetails
without any issues using the recommendedgoogle.golang.org/protobuf/proto
package.What did you see instead?
I encountered an error that prevents me from using the call as intended:
Since the
github.com/golang/protobuf
package is deprecated, the use ofgithub.com/golang/protobuf
within thestatus
package conflicts with the recommended package. Could you please check and provide a workaround or update the package to make it compatible with the recommended package?The text was updated successfully, but these errors were encountered: