protopatch
protopatch copied to clipboard
messages: add no_getters option to remove generated getters
Hi, thanks for the PR. This is interesting. What’s the use case?
It looks like the option only applies to object definitions, and not to individual fields?
My instinct is to implement the getter option, and if it’s set to an empty string, then delete the getter on that field (or all fields on a struct). What do you think?