protopatch icon indicating copy to clipboard operation
protopatch copied to clipboard

messages: add no_getters option to remove generated getters

Open Adphi opened this issue 3 years ago • 1 comments

Adphi avatar Mar 17 '23 23:03 Adphi

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?

ydnar avatar Apr 27 '23 23:04 ydnar