[ https://issues.apache.org/jira/browse/THRIFT-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13099248#comment-13099248 ]
Michael Stockton commented on THRIFT-1331: ------------------------------------------ s/struct == struct2/struct.should == struct2/ This affects more than compact protocol so you may want to add tests to struct_spec and union_spec instead. > Ruby library deserializes an empty map to nil > --------------------------------------------- > > Key: THRIFT-1331 > URL: https://issues.apache.org/jira/browse/THRIFT-1331 > Project: Thrift > Issue Type: Bug > Components: Ruby - Library > Affects Versions: 0.7, 0.8 > Reporter: Armaan Sarkar > Assignee: Armaan Sarkar > Attachments: THRIFT-1331_v1.patch > > > The problem occurs when deserializing an empty map. Instead of deserializing > to an empty hash in Ruby, Thrift currently makes it a nil object. This poses > a variety of problems and is not the intended/original behavior. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira