Valhalla breaks minimal-j framework
Bruno Eberhard
bruno.eberhard at pop.ch
Tue Dec 2 16:32:25 UTC 2025
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