Open DavideD opened 2 months ago
/cc @FroMage (panache), @loicmathieu (panache)
It's the Fruit::deleteAll
that is the problem, I bet. It will work if you do () -> Fruit.deleteAll()
.
Besides transforming these lambdas with build transformers, I'm not sure how to fix this.
Yes, that solved the issue. Annoying, but if there's nothing we can do, I will just close it.
Thanks.
There might be ways to solve those, I'd have to look at the bytecode. But I am not sure it's worth spending that time, as the error is pretty rare. I think you're the first to report it.
It's OK, it's not critical. And, It's relatively easy to find workarounds. If you don't have time maybe somewhere else will.
It's just annoying not to be able to use method reference. Maybe a note on the website or in the documentation can be helpful.
Describe the bug
You can see this error by updating the
hibernate-reactive-panche-quickstart
.Replace the
FruitResource#delete
with:Calling the rest point via HTTP will cause:
Expected behavior
If I change the method to:
everything works as expected: