Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-101966

QtProtobuf: unknown fields during deserialization should be stored and re-emitted if serialized back

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • Core: Other
    • None
    • All
    • 5
    • 81d3e8eb8 (dev)
    • Foundation Sprint 62, Foundation Sprint 63, Foundation Sprint 64, Foundation Sprint 65, Foundation Sprint 66, Foundation Sprint 67, Foundation Sprint 68, Foundation Sprint 69, Foundation Sprint 70, Foundation Sprint 71

      In Protobuf 3.5+ unknown fields should not be discarded but stored and re-emitted if/when the message is serialized again.

      https://developers.google.com/protocol-buffers/docs/proto3#unknowns

      The unknown data will have to be stored somewhere (QObject dynamic property? if avoiding QObject we may need another field generated to contain the data) and need documentation assuming users are interested in working with the data.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            manordheim Mårten Nordheim
            manordheim Mårten Nordheim
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes