qtgrpc/tests/auto
Mårten Nordheim 81d3e8eb8c Protobuf: store and re-emit unknown fields
Use the unknownEntries variable we so cleverly added in
QProtobufMessagePrivate to store the data for the unknown fields.

By using a bytes-to-count mapping we can easily store multiple repeated
entries of a message, which could happen in a repeated list with
multiple identical entries. Since we don't know if a field is actually
marked as _repeated_ or not (since it's an unknown field) we just have
to assume it is.

Fixes: QTBUG-101966
Change-Id: I1ebde5fdaebe2987a68de1632f136bb6606e718a
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-12-07 12:29:45 +01:00
..
protobuf Protobuf: store and re-emit unknown fields 2022-12-07 12:29:45 +01:00
protobufgen Slim down test includes 2022-12-07 11:07:26 +01:00
shared/data/proto QtProtobuf: Output tests for the generator 2022-12-02 13:45:10 +01:00
CMakeLists.txt QtProtobuf: Output tests for the generator 2022-12-02 13:45:10 +01:00