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

Details

    • Task
    • Resolution: Fixed
    • 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

    Description

      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.

      Attachments

        For Gerrit Dashboard: QTBUG-101966
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes