Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.8
-
None
Description
The following code won't compile because of name clashing:
message MyMessage { int32 a = 1; } message MyMessageRepeated { repeated MyMessage b = 1; }
MyMessage generates the QList alias that is handy in certain usecases and blocks the usage of Repeated suffix in MyMessageRepeated.
We should avoid generating aliases.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-129652 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
595712,5 | Avoid generating QList aliases for the protobuf messages | dev | qt/qtgrpc | Status: NEW | +1 | 0 |
595801,5 | Document the QT_USE_PROTOBUF_LIST_ALIASES cmake property | dev | qt/qtgrpc | Status: NEW | +2 | 0 |
595804,1 | Add Qt Protobuf properties to the cmake properties index | dev | qt/qtdoc | Status: NEW | 0 | 0 |