Decoding grpc-status-details-bin ?
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 802
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 5
Description
Hi there
Server side, we send an error withDetails (in GO) :
```
st2 := status.New(codes.Aborted, "failed to map")
st2.WithDetails(&Error{
Code: 1,
Message: "error",
})
```
Client side (js / typescript), we need to retrieve these details somehow but all we receive is a serialized string (`trailers.get('grpc-status-details-bin')` ) .. how can we decode it ?
Thanks
Contributor guide
Assessment
This issue has not been assessed yet.