Hey,
We will be adding an option (change, bug) to enable prefixing accessors with get/set and also converting the name in ODS to UpperCamel from snake_case (e.g., what would be my_attribute()
today, will be getMyAttribute()
). The option will initially be off (no change from today, no prefix generated) and dialects can opt-in to switch to having a prefix or to generate both forms. The dialects in core will be migrated to use this new prefixed form. We expect the migration to go like:
- Change prefix emission to _Both of a dialect;
- Update all uses to use prefix;
- Submit;
- Allow users to migrate (~2 weeks);
- Flip prefix emission to _Prefixed;
The migration time is short as we expect folks could use automatic approaches (like rewriters 1, 2 ) to update uses.
– Jacques