Closed johanbrandhorst closed 6 years ago
Unfortunately, as this PR shows, it is only possible to use status.WithDetails
with proto messages that are registered with golang/protobuf. In this case that means we're not able to use gogo/googleapis
.
The purpose of this error is to show how the user can attach arbitrary error metadata to a gRPC status error, and how to make that work with the gRPC-Gateway translation layer.