apache/apisix

bug: grpc-transcode cant transcode empty array list to [] , but it did to {}

クローズ

#11,440 opened on 2024/07/26

 (13 件のコメント) (0 件のリアクション) (1 人の担当者)Lua (2,860 件のフォーク)batch import
buggood first issue

Repository metrics

Stars
 (16,597 個のスター)
PR merge metrics
 (平均マージ 6d 8h) (30d で 109 merged PRs)

説明

Current Behavior

when back to front server, grpc transcode plugin cant transcode empty list (array) to [] , but to {} . use grpc example demo : image

when list has content , it did well . image

Expected Behavior

response empty list expect to get [] . not {}

Error Logs

No response

Steps to Reproduce

  1. apisix 3.9 latest
  2. grpc server golang
  3. postman

Environment

  1. apisix 3.9 latest
  2. grpc server golang
  3. postman

コントリビューターガイド