{"action":"created","issue":{"url":"https://api.github.com/repos/levanto-financial/ember-data-preload/issues/14","repository_url":"https://api.github.com/repos/levanto-financial/ember-data-preload","labels_url":"https://api.github.com/repos/levanto-financial/ember-data-preload/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/levanto-financial/ember-data-preload/issues/14/comments","events_url":"https://api.github.com/repos/levanto-financial/ember-data-preload/issues/14/events","html_url":"https://github.com/levanto-financial/ember-data-preload/pull/14","id":153045893,"number":14,"title":"Refactor preload to handle more cases","user":{"login":"cesarizu","id":658725,"avatar_url":"https://avatars.githubusercontent.com/u/658725?v=3","gravatar_id":"","url":"https://api.github.com/users/cesarizu","html_url":"https://github.com/cesarizu","followers_url":"https://api.github.com/users/cesarizu/followers","following_url":"https://api.github.com/users/cesarizu/following{/other_user}","gists_url":"https://api.github.com/users/cesarizu/gists{/gist_id}","starred_url":"https://api.github.com/users/cesarizu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesarizu/subscriptions","organizations_url":"https://api.github.com/users/cesarizu/orgs","repos_url":"https://api.github.com/users/cesarizu/repos","events_url":"https://api.github.com/users/cesarizu/events{/privacy}","received_events_url":"https://api.github.com/users/cesarizu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-04T15:45:04Z","updated_at":"2016-05-05T23:45:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/levanto-financial/ember-data-preload/pulls/14","html_url":"https://github.com/levanto-financial/ember-data-preload/pull/14","diff_url":"https://github.com/levanto-financial/ember-data-preload/pull/14.diff","patch_url":"https://github.com/levanto-financial/ember-data-preload/pull/14.patch"},"body":"Hello,\r\n\r\nI've modified the preload module to accept more use cases. I was having some problem with null properties and some combinations of pre-loading objects and arrays. Please let me know what you think.\r\n\r\nThe cases supported now are:\r\n* `preload(thing, <string>)`\r\n* `preload(thing, [ <string | object>, ... ])`\r\n* `preload(thing, { property: <string | array | object>, ... })`\r\n\r\nPreviously some of these combinations where not supported.\r\n\r\nCheers! "},"comment":{"url":"https://api.github.com/repos/levanto-financial/ember-data-preload/issues/comments/217311625","html_url":"https://github.com/levanto-financial/ember-data-preload/pull/14#issuecomment-217311625","issue_url":"https://api.github.com/repos/levanto-financial/ember-data-preload/issues/14","id":217311625,"user":{"login":"cesarizu","id":658725,"avatar_url":"https://avatars.githubusercontent.com/u/658725?v=3","gravatar_id":"","url":"https://api.github.com/users/cesarizu","html_url":"https://github.com/cesarizu","followers_url":"https://api.github.com/users/cesarizu/followers","following_url":"https://api.github.com/users/cesarizu/following{/other_user}","gists_url":"https://api.github.com/users/cesarizu/gists{/gist_id}","starred_url":"https://api.github.com/users/cesarizu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesarizu/subscriptions","organizations_url":"https://api.github.com/users/cesarizu/orgs","repos_url":"https://api.github.com/users/cesarizu/repos","events_url":"https://api.github.com/users/cesarizu/events{/privacy}","received_events_url":"https://api.github.com/users/cesarizu/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T23:45:16Z","updated_at":"2016-05-05T23:45:16Z","body":"@mike-north, I've updated the PR with some extra tests."}}