You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2023/05/09 14:02:00 UTC

[jira] [Updated] (GROOVY-10549) Allow records to generate getter methods

     [ https://issues.apache.org/jira/browse/GROOVY-10549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Milles updated GROOVY-10549:
---------------------------------
    Component/s: record

> Allow records to generate getter methods
> ----------------------------------------
>
>                 Key: GROOVY-10549
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10549
>             Project: Groovy
>          Issue Type: Improvement
>          Components: record
>    Affects Versions: 4.0.1
>            Reporter: Christopher Smith
>            Priority: Major
>
> 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.10#820010)