GrpcJsonTranscoder support other HTTP/Json format for gRPC error
Open
area/grpc-transcoding
enhancement
help wanted
- Dominant language
- C++
- Stars
- 28.9k
- Forks
- 5.6k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 430
Description
GrpcJsonTranscoder support other HTTP/Json format for gRPC error
*Description*:
Currently GrpcJsonTranscoder filter [translates google.rpc.Status into its default Json format](https://github.com/envoyproxy/envoy/blob/main/source/extensions/filters/http/grpc_json_transcoder/json_transcoder_filter.cc#L856). We want it can support translating into other JSON format. The context is that we want to achieve this [HTTP Error format](https://cloud.google.com/apis/design/errors#http_mapping) based on google.rpc.Status and the difference is just the field location.
Contributor guide
Assessment
This issue has not been assessed yet.