yuhongyu879 opened a new pull request #4368:
URL: https://github.com/apache/apisix/pull/4368


   protobufjs use custom wrapper for google.protobuf.any and other types, if we 
want decode message like this, we can use pb.hook which introduced in 0.3.2, 
but after upgrade lua-protobuf to that version, the [grpc-transcode 
plugin](https://github.com/apache/apisix/blob/62ceab5710859d39828c6a88e3602ab6df1a589f/apisix/plugins/grpc-transcode/proto.lua#L48)
 won't work because of this 
[mr](https://github.com/starwing/lua-protobuf/commit/89faac205585360d800472c62752d5b532d7ce9e),
 so as a quick fix, we can pass a filename to load function, or if needed we 
can write a function does the same as the lib function do but return the 
resolve message info additionally.
   
   thank you.
   


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to