#3857·kratos

在发送 grpc 请求时,header 无法支持数组

作者: binwan-dev创建于 2026年7月27日更新于 2026年8月5日
标签bug

Good afternoon, when I was debugging a gRPC request in a microservice, because we need to pass an array in the header, I noticed that the source code used the header.get method to assemble the header, which only retrieved the first value, resulting in the array not being passed to the other microservice. Code link

内容来源: go-kratos/kratos