[ 
https://issues.apache.org/jira/browse/FREEMARKER-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17784265#comment-17784265
 ] 

Simon commented on FREEMARKER-183:
----------------------------------

For record support: the problem is that currently you can currently call 
methods, but not "properties" (for records they're technically component 
accessors).
Therefore if a change was made to suddenly support property syntax _instead of_ 
method syntax, it would be a breaking.
Given your vision of separating out the namespaces, are you against this being 
(at least temporarily) perhaps a setting or a versioned incompatible 
improvement?

> Add support for Java records
> ----------------------------
>
>                 Key: FREEMARKER-183
>                 URL: https://issues.apache.org/jira/browse/FREEMARKER-183
>             Project: Apache Freemarker
>          Issue Type: Task
>            Reporter: Dániel Dékány
>            Assignee: Dániel Dékány
>            Priority: Major
>
> Currently we don't support records (JEP 395), which was finalized in Java 16. 
> Users can extend {{DefaultObjectWrapper}} for that of course, but it should 
> be supported out of the box.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to