-
Notifications
You must be signed in to change notification settings - Fork 2.6k
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
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
Panache doesn't support method reference #41967
Comments
/cc @FroMage (panache), @loicmathieu (panache) |
It's the Besides transforming these lambdas with build transformers, I'm not sure how to fix this. |
Yes, that solved the issue. 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. It's just annoying not to be able to use method reference. |
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:
The text was updated successfully, but these errors were encountered: