{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/issues/1007","repository_url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler","labels_url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/issues/1007/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/issues/1007/comments","events_url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/issues/1007/events","html_url":"https://github.com/strongloop/loopback-datasource-juggler/pull/1007","id":166796816,"number":1007,"title":"Optimize related model queries","user":{"login":"horiaradu","id":3133496,"avatar_url":"https://avatars.githubusercontent.com/u/3133496?v=3","gravatar_id":"","url":"https://api.github.com/users/horiaradu","html_url":"https://github.com/horiaradu","followers_url":"https://api.github.com/users/horiaradu/followers","following_url":"https://api.github.com/users/horiaradu/following{/other_user}","gists_url":"https://api.github.com/users/horiaradu/gists{/gist_id}","starred_url":"https://api.github.com/users/horiaradu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/horiaradu/subscriptions","organizations_url":"https://api.github.com/users/horiaradu/orgs","repos_url":"https://api.github.com/users/horiaradu/repos","events_url":"https://api.github.com/users/horiaradu/events{/privacy}","received_events_url":"https://api.github.com/users/horiaradu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/labels/%23community%20contribution","name":"#community contribution","color":"eb6420"},{"url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/labels/juggler-relations","name":"juggler-relations","color":"eeeeee"},{"url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/labels/triage","name":"triage","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"Amir-61","id":10672146,"avatar_url":"https://avatars.githubusercontent.com/u/10672146?v=3","gravatar_id":"","url":"https://api.github.com/users/Amir-61","html_url":"https://github.com/Amir-61","followers_url":"https://api.github.com/users/Amir-61/followers","following_url":"https://api.github.com/users/Amir-61/following{/other_user}","gists_url":"https://api.github.com/users/Amir-61/gists{/gist_id}","starred_url":"https://api.github.com/users/Amir-61/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amir-61/subscriptions","organizations_url":"https://api.github.com/users/Amir-61/orgs","repos_url":"https://api.github.com/users/Amir-61/repos","events_url":"https://api.github.com/users/Amir-61/events{/privacy}","received_events_url":"https://api.github.com/users/Amir-61/received_events","type":"User","site_admin":false},"assignees":[{"login":"Amir-61","id":10672146,"avatar_url":"https://avatars.githubusercontent.com/u/10672146?v=3","gravatar_id":"","url":"https://api.github.com/users/Amir-61","html_url":"https://github.com/Amir-61","followers_url":"https://api.github.com/users/Amir-61/followers","following_url":"https://api.github.com/users/Amir-61/following{/other_user}","gists_url":"https://api.github.com/users/Amir-61/gists{/gist_id}","starred_url":"https://api.github.com/users/Amir-61/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amir-61/subscriptions","organizations_url":"https://api.github.com/users/Amir-61/orgs","repos_url":"https://api.github.com/users/Amir-61/repos","events_url":"https://api.github.com/users/Amir-61/events{/privacy}","received_events_url":"https://api.github.com/users/Amir-61/received_events","type":"User","site_admin":false}],"milestone":null,"comments":20,"created_at":"2016-07-21T11:27:18Z","updated_at":"2016-08-01T17:19:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/pulls/1007","html_url":"https://github.com/strongloop/loopback-datasource-juggler/pull/1007","diff_url":"https://github.com/strongloop/loopback-datasource-juggler/pull/1007.diff","patch_url":"https://github.com/strongloop/loopback-datasource-juggler/pull/1007.patch"},"body":"Optimise related model queries\r\n\r\nNo longer query for the related/included model when no results are obtained in the first query\r\n\r\nfix: https://github.com/strongloop/loopback-datasource-juggler/issues/1006"},"comment":{"url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/issues/comments/236646239","html_url":"https://github.com/strongloop/loopback-datasource-juggler/pull/1007#issuecomment-236646239","issue_url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/issues/1007","id":236646239,"user":{"login":"rmg","id":17978,"avatar_url":"https://avatars.githubusercontent.com/u/17978?v=3","gravatar_id":"","url":"https://api.github.com/users/rmg","html_url":"https://github.com/rmg","followers_url":"https://api.github.com/users/rmg/followers","following_url":"https://api.github.com/users/rmg/following{/other_user}","gists_url":"https://api.github.com/users/rmg/gists{/gist_id}","starred_url":"https://api.github.com/users/rmg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmg/subscriptions","organizations_url":"https://api.github.com/users/rmg/orgs","repos_url":"https://api.github.com/users/rmg/repos","events_url":"https://api.github.com/users/rmg/events{/privacy}","received_events_url":"https://api.github.com/users/rmg/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T17:19:31Z","updated_at":"2016-08-01T17:19:31Z","body":"@horiaradu I've opened the permissions even further now. Can you try viewing [this PR linter log](https://ci.sl.strongloop.com/job/strongloop-pr-linter-jobs/job/loopback-datasource-juggler/104/console)? Note that you'll need to login using github."}}
{"actor":{"display_login":"rmg"}}