It would be great if it was possible to add new methods which were also automatically added to the hal links. Or perhaps a way to specify that it should be included in the links. I have had no luck trying to get this to work in other ways (quarkus-hal and quarkus-rest-links) in conjunction with the easy to use quarkus-hibernate-orm-rest-data-panache.
Description
In
quarkus-hibernate-orm-rest-data-panache
according to the docs you can add additional endpoints to your PanacheEntityResource interface like so:Adding HAL support like so:
Note: also not sure why it is required to have the
@Produces({...,"application/hal+json"})
since@ResourceProperties(hal = true)
is defined.However, this does not add the
/name/{name}
link.Only the following default links are present
GET /person/name/John
It would be great if it was possible to add new methods which were also automatically added to the hal links. Or perhaps a way to specify that it should be included in the links. I have had no luck trying to get this to work in other ways (
quarkus-hal
andquarkus-rest-links
) in conjunction with the easy to usequarkus-hibernate-orm-rest-data-panache
.Implementation ideas
No response