{"action":"created","issue":{"url":"https://api.github.com/repos/yesodweb/yesod/issues/1125","labels_url":"https://api.github.com/repos/yesodweb/yesod/issues/1125/labels{/name}","comments_url":"https://api.github.com/repos/yesodweb/yesod/issues/1125/comments","events_url":"https://api.github.com/repos/yesodweb/yesod/issues/1125/events","html_url":"https://github.com/yesodweb/yesod/issues/1125","id":121824112,"number":1125,"title":"Heirarchical routes create unreachable routes","user":{"login":"chreekat","id":538538,"avatar_url":"https://avatars.githubusercontent.com/u/538538?v=3","gravatar_id":"","url":"https://api.github.com/users/chreekat","html_url":"https://github.com/chreekat","followers_url":"https://api.github.com/users/chreekat/followers","following_url":"https://api.github.com/users/chreekat/following{/other_user}","gists_url":"https://api.github.com/users/chreekat/gists{/gist_id}","starred_url":"https://api.github.com/users/chreekat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chreekat/subscriptions","organizations_url":"https://api.github.com/users/chreekat/orgs","repos_url":"https://api.github.com/users/chreekat/repos","events_url":"https://api.github.com/users/chreekat/events{/privacy}","received_events_url":"https://api.github.com/users/chreekat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-12T01:36:18Z","updated_at":"2015-12-12T19:03:30Z","closed_at":null,"body":"Test case is here: https://github.com/chreekat/heirarch-routes (based on yesod-simple template).\r\n\r\nWhen a top-level route shares a uri component with a heirarchical route (like [FooR and FooBazR](https://github.com/chreekat/heirarch-routes/blob/master/config/routes#L10)), the top-level route just returns 404. In this case, that is FooBazR.\r\n\r\nI think FooBazR should be reachable, in spite of sharing a uri component."},"comment":{"url":"https://api.github.com/repos/yesodweb/yesod/issues/comments/164176355","html_url":"https://github.com/yesodweb/yesod/issues/1125#issuecomment-164176355","issue_url":"https://api.github.com/repos/yesodweb/yesod/issues/1125","id":164176355,"user":{"login":"chreekat","id":538538,"avatar_url":"https://avatars.githubusercontent.com/u/538538?v=3","gravatar_id":"","url":"https://api.github.com/users/chreekat","html_url":"https://github.com/chreekat","followers_url":"https://api.github.com/users/chreekat/followers","following_url":"https://api.github.com/users/chreekat/following{/other_user}","gists_url":"https://api.github.com/users/chreekat/gists{/gist_id}","starred_url":"https://api.github.com/users/chreekat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chreekat/subscriptions","organizations_url":"https://api.github.com/users/chreekat/orgs","repos_url":"https://api.github.com/users/chreekat/repos","events_url":"https://api.github.com/users/chreekat/events{/privacy}","received_events_url":"https://api.github.com/users/chreekat/received_events","type":"User","site_admin":false},"created_at":"2015-12-12T19:03:30Z","updated_at":"2015-12-12T19:03:30Z","body":"> If you put FooBazR first, are both routes reachable?\r\n\r\nYes.\r\n\r\n> Do you get any warnings about overlapping routes at any point in this?\r\n\r\nNo, there are no warnings in either order."}}