{"action":"closed","issue":{"url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/1242","repository_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage","labels_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/1242/labels{/name}","comments_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/1242/comments","events_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/1242/events","html_url":"https://github.com/samselikoff/ember-cli-mirage/issues/1242","id":283242168,"node_id":"MDU6SXNzdWUyODMyNDIxNjg=","number":1242,"title":"Polymorphic collection is not passed to application serializer","user":{"login":"janmisek","id":4329806,"node_id":"MDQ6VXNlcjQzMjk4MDY=","avatar_url":"https://avatars0.githubusercontent.com/u/4329806?v=4","gravatar_id":"","url":"https://api.github.com/users/janmisek","html_url":"https://github.com/janmisek","followers_url":"https://api.github.com/users/janmisek/followers","following_url":"https://api.github.com/users/janmisek/following{/other_user}","gists_url":"https://api.github.com/users/janmisek/gists{/gist_id}","starred_url":"https://api.github.com/users/janmisek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janmisek/subscriptions","organizations_url":"https://api.github.com/users/janmisek/orgs","repos_url":"https://api.github.com/users/janmisek/repos","events_url":"https://api.github.com/users/janmisek/events{/privacy}","received_events_url":"https://api.github.com/users/janmisek/received_events","type":"User","site_admin":false},"labels":[{"id":171422338,"node_id":"MDU6TGFiZWwxNzE0MjIzMzg=","url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/labels/Bug","name":"Bug","color":"e11d21","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-12-19T14:10:08Z","updated_at":"2018-07-30T13:49:28Z","closed_at":"2018-07-30T13:49:28Z","author_association":"NONE","body":"PolymorphicCollection (`ember-cli-mirage/orm/polymorphic-collection`) returned from handler is not passed to serializer. \r\n\r\nCause is `SerializerRegistry.serialize` and `SerializerRegistry._isCollection`. \r\n\r\nI would suggest to pass polymorphic collection to default `application` serializer. I can prepare pr if agreed.\r\n"}}
{"actor":{"display_login":"samselikoff"}}