pug4j icon indicating copy to clipboard operation
pug4j copied to clipboard

Support for Java records?

Open janneri opened this issue 1 year ago • 1 comments

The example does not work with a record:

public record Book(String name, double price, boolean available) {}

I guess the reason is, that the record accessor methods are named name(), price(), ... and not getName(), getPrice()?

janneri avatar Apr 21 '23 06:04 janneri

Seems to work with book.name() instead of book.name. Is this issue in apache jexl?

thmarx avatar Oct 31 '23 14:10 thmarx