Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1331

Ruby library deserializes an empty map to nil

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7, 0.8
    • 0.8
    • Ruby - Library
    • None
    • Patch Available

    Description

      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.

      Attachments

        1. THRIFT-1331_v3.patch
          3 kB
          Armaan Sarkar
        2. THRIFT-1331_v2.patch
          3 kB
          Armaan Sarkar
        3. THRIFT-1331_v1.patch
          3 kB
          Armaan Sarkar

        Activity

          People

            armaansarkar Armaan Sarkar
            armaansarkar Armaan Sarkar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: