Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Java records? #18

Open
janneri opened this issue Apr 21, 2023 · 1 comment
Open

Support for Java records? #18

janneri opened this issue Apr 21, 2023 · 1 comment

Comments

@janneri
Copy link

janneri commented Apr 21, 2023

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()?

@thmarx
Copy link

thmarx commented Oct 31, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants