Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
-
8
Description
We should add a clear() method to the QProtobufMessage class.
This emerged from here: https://codereview.qt-project.org/c/qt/qtgrpc/+/566935
Currently we "clear" in the deserialize() method by a placement new. This would already be a first user as it should be superior to clearing by placement new.
The method should set the default values to all fields that the message contains.