Valhalla breaks minimal-j framework
Brian Goetz
brian.goetz at oracle.com
Tue Dec 2 16:49:26 UTC 2025
Just a quick reminder that this conversation is getting pretty far afield for valhalla-dev.
> On Dec 2, 2025, at 11:32 AM, Bruno Eberhard <bruno.eberhard at pop.ch> wrote:
>
> Yes, I also thought of that. Forms and queries already know the class of the business object. This could lead to an advantage over my current solution because right now it is possible to use fields of a wrong $ constant. And this really happened sometimes.
>
> Thank you very much for your ideas. I will need some time to work this all out. Maybe I will contact you outside of this mailing list as it's getting a little bit offtopic.
>
> Am 02.12.2025 um 16:35 schrieb Ethan McCue:
>> var form = new Form<Person>();
>> form.line(() -> $.number);
>> form.line(() -> $.name);
>> form.line(() -> $.address.city);
>> Backend.find(Person.class, By.field(() -> $.name, "Bruno"));
>> Backend.find(Person.class, By.field(() -> $.address.zip, 8000));
>> This might be all that is needed - forgiving the perf difference, general hackiness, etc.
More information about the valhalla-dev
mailing list