huzhao37 edited a comment on pull request #2394:
URL: https://github.com/apache/thrift/pull/2394#issuecomment-844876600


   When I use Compact protocol to codec complex structures, I call initialize, 
assign a value to one of the simple string types, then encode, get buffer, and 
then decode, I find that the value of the field of string type is missing, if I 
initialize other complex fields in the complex structure, I won't have this 
problem, how to solve this?
   
![image](https://user-images.githubusercontent.com/17268060/118949155-881b1100-b98b-11eb-80d3-c80432edcabb.png)
   
![image](https://user-images.githubusercontent.com/17268060/118949223-96692d00-b98b-11eb-8bc9-cb33761a1c4b.png)
   


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