Customising PanacheEntityResource #36878
Unanswered
akil-rails
asked this question in
Q&A
Replies: 2 comments 1 reply
-
/cc @FroMage (panache), @geoand (rest-data-panache), @loicmathieu (panache) |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Sgitario mind helping out on this one? Thanks |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
Pls guide on how we can utilise quarkus-hibernate-reactive-rest-data-panache and also customise the generated methods to always be POST.
The current implementation of quarkus-hibernate-reactive-rest-data-panache is of course rest, meaning there are methods that expect the ID in the resource path, specifically for GET, PUT and DELETE.
We have a situation where we have to use POST for all operations (since the key field is not allowed to be exposed in the URL) - so we need to generate the following paths:
All our resources are like this, so customising every resource is tedious, and would like to offer something like the following to developers
Beta Was this translation helpful? Give feedback.
All reactions