Open marcules opened 1 year ago
Hello again! If I declare my records with lombok-annotations the code above works, so it looks like only bean convention is supported.
This works:
record SubjectReq(@Getter String name) {
}
record ObjectReq(@Getter String name) {
}
Is "non-bean" convention something you want to support in the future?
Kind Regards, Marc
I haven't used Record
before, looks cool.
Let me take some time to learn it and decide whether to change the behavior.
Hi!
When I try to access a field from a Java Record Class, AviatorJavaType#getProperty() throws a NoSuchPropertyException.
Here's a minimal example:
logs:
throws:
If I try to access a "normal" (+lombok) Object field, it works like expected:
Normal class test:
Normal class logs:
Is this something that is not implemented (yet) or am I using it wrong?
Kind Regards, Marc