quarkus-renarde icon indicating copy to clipboard operation
quarkus-renarde copied to clipboard

Use @Path("/foo") on Controller and @Path("/bar") Router resolve to `/bar`

Open ia3andy opened this issue 2 years ago • 0 comments

Spec clearly state that it should resolve to /foo/bar instead.

This is what is wrong: Router.getURI(FooController::bar) and also when using uri:FooController.bar from a template.

The endpoint though is working as expected /foo/bar is reachable.

PS: is there a reason for not having bar resolving to foo/bar and /bar to /bar which allows more possibilities.

An issue which fix also this bug on the plugins: https://github.com/redhat-developer/quarkus-ls/issues/892

ia3andy avatar Jul 07 '23 07:07 ia3andy