{"action":"created","issue":{"url":"https://api.github.com/repos/meteorhacks/flow-router/issues/164","labels_url":"https://api.github.com/repos/meteorhacks/flow-router/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/meteorhacks/flow-router/issues/164/comments","events_url":"https://api.github.com/repos/meteorhacks/flow-router/issues/164/events","html_url":"https://github.com/meteorhacks/flow-router/issues/164","id":88103631,"number":164,"title":"Checking query params raises error","user":{"login":"delgermurun","id":492616,"avatar_url":"https://avatars.githubusercontent.com/u/492616?v=3","gravatar_id":"","url":"https://api.github.com/users/delgermurun","html_url":"https://github.com/delgermurun","followers_url":"https://api.github.com/users/delgermurun/followers","following_url":"https://api.github.com/users/delgermurun/following{/other_user}","gists_url":"https://api.github.com/users/delgermurun/gists{/gist_id}","starred_url":"https://api.github.com/users/delgermurun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delgermurun/subscriptions","organizations_url":"https://api.github.com/users/delgermurun/orgs","repos_url":"https://api.github.com/users/delgermurun/repos","events_url":"https://api.github.com/users/delgermurun/events{/privacy}","received_events_url":"https://api.github.com/users/delgermurun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-14T02:22:56Z","updated_at":"2015-06-14T03:02:21Z","closed_at":null,"body":"`check(FlowRouter.current().queryParams, {})` (on page with empty query string).\r\n\r\nRaises `Match error: Expected plain object`.\r\n\r\nChecking with fields (e.g. `check(FlowRouter.current().queryParams, {page: String})`) raises error too."},"comment":{"url":"https://api.github.com/repos/meteorhacks/flow-router/issues/comments/111775223","html_url":"https://github.com/meteorhacks/flow-router/issues/164#issuecomment-111775223","issue_url":"https://api.github.com/repos/meteorhacks/flow-router/issues/164","id":111775223,"user":{"login":"delgermurun","id":492616,"avatar_url":"https://avatars.githubusercontent.com/u/492616?v=3","gravatar_id":"","url":"https://api.github.com/users/delgermurun","html_url":"https://github.com/delgermurun","followers_url":"https://api.github.com/users/delgermurun/followers","following_url":"https://api.github.com/users/delgermurun/following{/other_user}","gists_url":"https://api.github.com/users/delgermurun/gists{/gist_id}","starred_url":"https://api.github.com/users/delgermurun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delgermurun/subscriptions","organizations_url":"https://api.github.com/users/delgermurun/orgs","repos_url":"https://api.github.com/users/delgermurun/repos","events_url":"https://api.github.com/users/delgermurun/events{/privacy}","received_events_url":"https://api.github.com/users/delgermurun/received_events","type":"User","site_admin":false},"created_at":"2015-06-14T03:02:21Z","updated_at":"2015-06-14T03:02:21Z","body":"It is on client. On server it works fine (passing `subscriptions`'s second arg).\r\n\r\nIt was working fine, but I don't remember when it popped up. Maybe after triggers release.\r\n\r\nYeah, it is bug. I haven't solution yet. My workaround is cloning query params :).\r\n`check(_.clone(FlowRouter.current().queryParams), {})` it works fine.\r\n\r\nI guess it is related to #163.\r\n "}}