Christopher Smith created GROOVY-10549:
------------------------------------------

             Summary: Allow records to generate getter methods
                 Key: GROOVY-10549
                 URL: https://issues.apache.org/jira/browse/GROOVY-10549
             Project: Groovy
          Issue Type: Improvement
    Affects Versions: 4.0.1
            Reporter: Christopher Smith


Records are very cool. However, the decision to drop the traditional JavaBeans 
prefixes means that _lots_ of infrastructure is incompatible until major 
libraries update to a baseline that includes record features. (For the moment, 
this includes the Groovy compiler...)

For compatibility purposes, it would be convenient to still generate the 
traditional getFoo methods on records. This might not be preferable as a 
default, so perhaps it's a {{RecordOptions.getter}} setting?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to