{"action":"created","issue":{"url":"https://api.github.com/repos/emberjs/rfcs/issues/120","repository_url":"https://api.github.com/repos/emberjs/rfcs","labels_url":"https://api.github.com/repos/emberjs/rfcs/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/rfcs/issues/120/comments","events_url":"https://api.github.com/repos/emberjs/rfcs/issues/120/events","html_url":"https://github.com/emberjs/rfcs/pull/120","id":133084489,"number":120,"title":"Introduce Route Serializers","user":{"login":"trentmwillis","id":3526753,"avatar_url":"https://avatars.githubusercontent.com/u/3526753?v=3","gravatar_id":"","url":"https://api.github.com/users/trentmwillis","html_url":"https://github.com/trentmwillis","followers_url":"https://api.github.com/users/trentmwillis/followers","following_url":"https://api.github.com/users/trentmwillis/following{/other_user}","gists_url":"https://api.github.com/users/trentmwillis/gists{/gist_id}","starred_url":"https://api.github.com/users/trentmwillis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trentmwillis/subscriptions","organizations_url":"https://api.github.com/users/trentmwillis/orgs","repos_url":"https://api.github.com/users/trentmwillis/repos","events_url":"https://api.github.com/users/trentmwillis/events{/privacy}","received_events_url":"https://api.github.com/users/trentmwillis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":41,"created_at":"2016-02-11T20:50:13Z","updated_at":"2016-02-12T18:42:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/emberjs/rfcs/pulls/120","html_url":"https://github.com/emberjs/rfcs/pull/120","diff_url":"https://github.com/emberjs/rfcs/pull/120.diff","patch_url":"https://github.com/emberjs/rfcs/pull/120.patch"},"body":"[Rendered](https://github.com/trentmwillis/rfcs/blob/route-serializers/text/0000-route-serializers.md)."},"comment":{"url":"https://api.github.com/repos/emberjs/rfcs/issues/comments/183445254","html_url":"https://github.com/emberjs/rfcs/pull/120#issuecomment-183445254","issue_url":"https://api.github.com/repos/emberjs/rfcs/issues/120","id":183445254,"user":{"login":"webark","id":852194,"avatar_url":"https://avatars.githubusercontent.com/u/852194?v=3","gravatar_id":"","url":"https://api.github.com/users/webark","html_url":"https://github.com/webark","followers_url":"https://api.github.com/users/webark/followers","following_url":"https://api.github.com/users/webark/following{/other_user}","gists_url":"https://api.github.com/users/webark/gists{/gist_id}","starred_url":"https://api.github.com/users/webark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webark/subscriptions","organizations_url":"https://api.github.com/users/webark/orgs","repos_url":"https://api.github.com/users/webark/repos","events_url":"https://api.github.com/users/webark/events{/privacy}","received_events_url":"https://api.github.com/users/webark/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T18:42:29Z","updated_at":"2016-02-12T18:42:29Z","body":"I would say it's fair to be dubious. But the the choice was made to have the routes be defined as methods rather then just a json blob, which allows for these types of choices to be even considered. And even though it is diverging away from the standard route DSL, it has already been mentioned that it is a very rare occurrence where this would need to be actually overwritten. It also bodes well for not having to do directory crawls for these files, and not introducing a concept that is unlike any of the others. All things currently are first and foremost objects (at least everything I can think of off the top of my head). Having a new type, albeit a seldom used feature, would cause typical roadblocks and misconceptions. You could not include a mixin, it wouldn't be something you would extend, inheritance would look different. "}}