You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when an URL to a method is generated and this method receives some arguments, only those that change the URL's base are inserted in the generated URL. For example, suppose you have the following controller method:
public class PostsController {
@Path("/users/{user.id}/posts")
@Get
public void listPostsFrom(User user, String tag) {...}
}
And you want to generate the URL /users/1/posts?tag=testing. The current behavior is, when generating an URL using
is to generate the URL /users/1/posts, without the parameter tag because it's not part of the base URL. But it should generate the desired URL, described above.
The text was updated successfully, but these errors were encountered:
Currently, when an URL to a method is generated and this method receives some arguments, only those that change the URL's base are inserted in the generated URL. For example, suppose you have the following controller method:
And you want to generate the URL
/users/1/posts?tag=testing
. The current behavior is, when generating an URL usingis to generate the URL /users/1/posts, without the parameter
tag
because it's not part of the base URL. But it should generate the desired URL, described above.The text was updated successfully, but these errors were encountered: