Skip to content
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

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

Open
ia3andy opened this issue Jul 7, 2023 · 0 comments
Open

Comments

@ia3andy
Copy link
Contributor

ia3andy commented Jul 7, 2023

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:
redhat-developer/quarkus-ls#892

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant