Add option for eliding property metadata from messages
Adds an option to protoc `--objc_opt=elide_message_metadata` to remove all the property metadata from message classes. This significantly reduces the codegen size of the clases. The downside is that iterating through properties using objective c runtime calls will no longer function. This is mitigated by the fact that most (all?) of the information that folks are interested in can be extracted via the message descriptor. We do this by defining our own classes using the `GPB_MESSAGE_SUBCLASS_IMPL` macro.
D
Dave MacLachlan committed
ca3674b7d5f76299138ca635fa9c02e01e0fdf76
Parent: e7440d2
Committed by Thomas Van Lenten <thomasvl@google.com>
on 6/23/2021, 6:23:23 PM