{"action":"closed","issue":{"url":"https://api.github.com/repos/timble/kodekit/issues/68","repository_url":"https://api.github.com/repos/timble/kodekit","labels_url":"https://api.github.com/repos/timble/kodekit/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/timble/kodekit/issues/68/comments","events_url":"https://api.github.com/repos/timble/kodekit/issues/68/events","html_url":"https://github.com/timble/kodekit/issues/68","id":151528444,"number":68,"title":"Do not extend from ObjectSet","user":{"login":"johanjanssens","id":266640,"avatar_url":"https://avatars.githubusercontent.com/u/266640?v=3","gravatar_id":"","url":"https://api.github.com/users/johanjanssens","html_url":"https://github.com/johanjanssens","followers_url":"https://api.github.com/users/johanjanssens/followers","following_url":"https://api.github.com/users/johanjanssens/following{/other_user}","gists_url":"https://api.github.com/users/johanjanssens/gists{/gist_id}","starred_url":"https://api.github.com/users/johanjanssens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanjanssens/subscriptions","organizations_url":"https://api.github.com/users/johanjanssens/orgs","repos_url":"https://api.github.com/users/johanjanssens/repos","events_url":"https://api.github.com/users/johanjanssens/events{/privacy}","received_events_url":"https://api.github.com/users/johanjanssens/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/timble/kodekit/labels/breaking","name":"breaking","color":"313030"},{"url":"https://api.github.com/repos/timble/kodekit/labels/refactor","name":"refactor","color":"0e8a16"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/timble/kodekit/milestones/3","html_url":"https://github.com/timble/kodekit/milestones/3.0.0-beta.2","labels_url":"https://api.github.com/repos/timble/kodekit/milestones/3/labels","id":1693827,"number":3,"title":"3.0.0-beta.2","description":"","creator":{"login":"johanjanssens","id":266640,"avatar_url":"https://avatars.githubusercontent.com/u/266640?v=3","gravatar_id":"","url":"https://api.github.com/users/johanjanssens","html_url":"https://github.com/johanjanssens","followers_url":"https://api.github.com/users/johanjanssens/followers","following_url":"https://api.github.com/users/johanjanssens/following{/other_user}","gists_url":"https://api.github.com/users/johanjanssens/gists{/gist_id}","starred_url":"https://api.github.com/users/johanjanssens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanjanssens/subscriptions","organizations_url":"https://api.github.com/users/johanjanssens/orgs","repos_url":"https://api.github.com/users/johanjanssens/repos","events_url":"https://api.github.com/users/johanjanssens/events{/privacy}","received_events_url":"https://api.github.com/users/johanjanssens/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":48,"state":"open","created_at":"2016-04-08T16:31:59Z","updated_at":"2016-05-03T18:03:45Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-04-28T01:26:18Z","updated_at":"2016-05-03T18:03:45Z","closed_at":"2016-05-03T18:03:45Z","body":"Do not extend ModelEntityComposite and DatabaseRowsetAbstract from ObjectSet, instead compose the objectset as private class property.\r\n\r\nBreaking changes:\r\n\r\n- If you are extending from ObjectSet you can no longer access the 'data' property. To migrate your code use the API instead.\r\n\r\n- ModelEntityComposite::toArray() no longer flattens the whole entity collection it only returns a array representation of the current entity. To migrate your code, use iterator_to_array if you want to get a array representation of the all entities in the collection, or traverse through the collection.\r\n\r\n- DatabaseRowsetAbstract::toArray() no longer flattens the whole entity collection it only returns a array representation of the current entity. To migrate your code, use iterator_to_array if you want to get a array representation of the all entities in the collection, or traverse through the collection.\r\n\r\n- Both ModelEntityComposite and DatabaseRowsetAbstract no longer have an top() method. To migrate your code remove the top() method. The composable pattern will ensure that you always get the current entity returned. "}}