{"action":"closed","issue":{"url":"https://api.github.com/repos/spring-projects/spring-hateoas/issues/209","labels_url":"https://api.github.com/repos/spring-projects/spring-hateoas/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-hateoas/issues/209/comments","events_url":"https://api.github.com/repos/spring-projects/spring-hateoas/issues/209/events","html_url":"https://github.com/spring-projects/spring-hateoas/issues/209","id":37055074,"number":209,"title":"ControllerLinkBuilder fails on Map<> RequestParams","user":{"login":"rossturner","id":1363017,"avatar_url":"https://avatars.githubusercontent.com/u/1363017?v=3","gravatar_id":"","url":"https://api.github.com/users/rossturner","html_url":"https://github.com/rossturner","followers_url":"https://api.github.com/users/rossturner/followers","following_url":"https://api.github.com/users/rossturner/following{/other_user}","gists_url":"https://api.github.com/users/rossturner/gists{/gist_id}","starred_url":"https://api.github.com/users/rossturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossturner/subscriptions","organizations_url":"https://api.github.com/users/rossturner/orgs","repos_url":"https://api.github.com/users/rossturner/repos","events_url":"https://api.github.com/users/rossturner/events{/privacy}","received_events_url":"https://api.github.com/users/rossturner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-projects/spring-hateoas/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"olivergierke","id":128577,"avatar_url":"https://avatars.githubusercontent.com/u/128577?v=3","gravatar_id":"","url":"https://api.github.com/users/olivergierke","html_url":"https://github.com/olivergierke","followers_url":"https://api.github.com/users/olivergierke/followers","following_url":"https://api.github.com/users/olivergierke/following{/other_user}","gists_url":"https://api.github.com/users/olivergierke/gists{/gist_id}","starred_url":"https://api.github.com/users/olivergierke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivergierke/subscriptions","organizations_url":"https://api.github.com/users/olivergierke/orgs","repos_url":"https://api.github.com/users/olivergierke/repos","events_url":"https://api.github.com/users/olivergierke/events{/privacy}","received_events_url":"https://api.github.com/users/olivergierke/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/spring-projects/spring-hateoas/milestones/17","html_url":"https://github.com/spring-projects/spring-hateoas/milestones/0.17","labels_url":"https://api.github.com/repos/spring-projects/spring-hateoas/milestones/17/labels","id":762651,"number":17,"title":"0.17","description":"","creator":{"login":"olivergierke","id":128577,"avatar_url":"https://avatars.githubusercontent.com/u/128577?v=3","gravatar_id":"","url":"https://api.github.com/users/olivergierke","html_url":"https://github.com/olivergierke","followers_url":"https://api.github.com/users/olivergierke/followers","following_url":"https://api.github.com/users/olivergierke/following{/other_user}","gists_url":"https://api.github.com/users/olivergierke/gists{/gist_id}","starred_url":"https://api.github.com/users/olivergierke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivergierke/subscriptions","organizations_url":"https://api.github.com/users/olivergierke/orgs","repos_url":"https://api.github.com/users/olivergierke/repos","events_url":"https://api.github.com/users/olivergierke/events{/privacy}","received_events_url":"https://api.github.com/users/olivergierke/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":18,"state":"open","created_at":"2014-08-22T15:09:11Z","updated_at":"2015-02-27T11:59:25Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2014-07-03T08:07:37Z","updated_at":"2015-02-27T11:59:25Z","closed_at":"2015-02-27T11:59:25Z","body":"I have a Controller that I would like to accept any request parameters on. According to [@RequestParam](http://docs.spring.io/spring/docs/4.0.4.RELEASE/javadoc-api/org/springframework/web/bind/annotation/RequestParam.html) javadoc:\r\n\r\n> If the method parameter is Map<String, String> or MultiValueMap<String, String> and a parameter name is not specified, then the map parameter is populated with all request parameter names and values.\r\n\r\nSo I should be able to accept either of these types in a Controller in this way to accept any query parameters. However, `ControllerLinkBuilderFactory.linkTo` either deals with `instanceof Collection` arguments or else attempts a `.toString()` on the parameter which is failing.\r\n\r\nI'd like to extend this to also check for `instanceof Map<String, String>` and `instanceof MultiValueMap<String, String>` and add a set of queryparams to the builder. If this seems like a reasonable change I'm happy to submit a pull request."}}