We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently to turn a Java 17 "record" into an Agrest entity, we need to create old style getters. E.g.:
public record MyRecord(String p1, String p2) { @AgAttribute public String getP1() { return p1; } @AgAttribute public String getP2() { return p2; } }
This works, but I wish it would look a bit more native like this:
public record MyRecord(@AgAttribute String p1, @AgAttribute String p2) {}
This is achievable without an explicit Java 17 dependency. This issue depends on redefining "properties" per #618
The text was updated successfully, but these errors were encountered:
Improve support for Java records as Agrest entities #614
16fe5da
No branches or pull requests
Currently to turn a Java 17 "record" into an Agrest entity, we need to create old style getters. E.g.:
This works, but I wish it would look a bit more native like this:
This is achievable without an explicit Java 17 dependency. This issue depends on redefining "properties" per #618
The text was updated successfully, but these errors were encountered: