{"action":"closed","issue":{"url":"https://api.github.com/repos/WP-API/client-js/issues/110","repository_url":"https://api.github.com/repos/WP-API/client-js","labels_url":"https://api.github.com/repos/WP-API/client-js/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/WP-API/client-js/issues/110/comments","events_url":"https://api.github.com/repos/WP-API/client-js/issues/110/events","html_url":"https://github.com/WP-API/client-js/issues/110","id":142716798,"number":110,"title":"Get category of each item return from collection","user":{"login":"christill","id":1196417,"avatar_url":"https://avatars.githubusercontent.com/u/1196417?v=3","gravatar_id":"","url":"https://api.github.com/users/christill","html_url":"https://github.com/christill","followers_url":"https://api.github.com/users/christill/followers","following_url":"https://api.github.com/users/christill/following{/other_user}","gists_url":"https://api.github.com/users/christill/gists{/gist_id}","starred_url":"https://api.github.com/users/christill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christill/subscriptions","organizations_url":"https://api.github.com/users/christill/orgs","repos_url":"https://api.github.com/users/christill/repos","events_url":"https://api.github.com/users/christill/events{/privacy}","received_events_url":"https://api.github.com/users/christill/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-22T17:16:03Z","updated_at":"2016-03-29T17:20:52Z","closed_at":"2016-03-29T17:20:52Z","body":"When trying to call `getCategories()` on a model within a collection it return the error: \r\n`a.at(...).getCategories is not a function`\r\n\r\nIf i wrap the first result of the collection in a new model. it works. Is it necessary to create a new model for each item returned from a collection or am I doing something wrong?\r\n\r\nThanks"}}