kingluo commented on issue #8655: URL: https://github.com/apache/apisix/issues/8655#issuecomment-1378780874
@gaoxingliang `Struct` is just a `map` with `oneof` value. They are ok in lua-protobuf: https://github.com/starwing/lua-protobuf/blob/master/test.lua#L657 https://github.com/starwing/lua-protobuf/blob/master/test.lua#L719 If you paste the definitions into one file without importing, the `Struct` works as expected. You could have a try. ```json { "reqdata":{ "fields":{ "name":{ "number_value":3, "kind":"number_value" }, "key":{ "string_value":"yyyy", "kind":"string_value" } } }, "serviceurl":"xxxx", "source":"3", "page":0, "size":0, "type":"7" } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
