apache/apisix

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

Open

#11.440 geöffnet am 26. Juli 2024

Auf GitHub ansehen
 (13 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Lua (16.597 Stars) (2.860 Forks)batch import
buggood first issue

Beschreibung

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

Contributor Guide