Uploaded image for project: 'ProtoStream'
  1. ProtoStream
  2. IPROTO-187

Add support for marshalling null elements in collections/arrays

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 4.4.0.Alpha5
    • 4.4.0.Alpha1
    • None
    • False
    • False
    • DataGrid Sprint #57
    • Undefined

    Description

      So far, protostream has minimal support for nulls. A top level null object is marshalled as the empty (zero bytes) message.

       

      For the sake of backward compatibility we'll keep this behavior for top level, but we need a different approach for elements of an array or collection. In this case we need to use a null token. A new field will be added in WappedMessage to represent the null.

      Attachments

        Issue Links

          Activity

            People

              anistor Adrian Nistor (Inactive)
              anistor Adrian Nistor (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: