{"action":"created","issue":{"url":"https://api.github.com/repos/vinkla/laravel-translator/issues/71","repository_url":"https://api.github.com/repos/vinkla/laravel-translator","labels_url":"https://api.github.com/repos/vinkla/laravel-translator/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/vinkla/laravel-translator/issues/71/comments","events_url":"https://api.github.com/repos/vinkla/laravel-translator/issues/71/events","html_url":"https://github.com/vinkla/laravel-translator/pull/71","id":205324871,"number":71,"title":"Support eager loading translations","user":{"login":"alepeino","id":5054081,"avatar_url":"https://avatars.githubusercontent.com/u/5054081?v=3","gravatar_id":"","url":"https://api.github.com/users/alepeino","html_url":"https://github.com/alepeino","followers_url":"https://api.github.com/users/alepeino/followers","following_url":"https://api.github.com/users/alepeino/following{/other_user}","gists_url":"https://api.github.com/users/alepeino/gists{/gist_id}","starred_url":"https://api.github.com/users/alepeino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alepeino/subscriptions","organizations_url":"https://api.github.com/users/alepeino/orgs","repos_url":"https://api.github.com/users/alepeino/repos","events_url":"https://api.github.com/users/alepeino/events{/privacy}","received_events_url":"https://api.github.com/users/alepeino/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-02-04T05:30:33Z","updated_at":"2017-02-07T07:42:38Z","closed_at":"2017-02-07T07:42:38Z","pull_request":{"url":"https://api.github.com/repos/vinkla/laravel-translator/pulls/71","html_url":"https://github.com/vinkla/laravel-translator/pull/71","diff_url":"https://github.com/vinkla/laravel-translator/pull/71.diff","patch_url":"https://github.com/vinkla/laravel-translator/pull/71.patch"},"body":"Revisiting PR #34, whose feature must have been left behind in a version change.\r\n\r\nAdditionally to caching the translations, this PR loads the translation as an Eloquent relation. Also, I added a query scope for easily eager loading translations for a single locale.\r\n"},"comment":{"url":"https://api.github.com/repos/vinkla/laravel-translator/issues/comments/277924020","html_url":"https://github.com/vinkla/laravel-translator/pull/71#issuecomment-277924020","issue_url":"https://api.github.com/repos/vinkla/laravel-translator/issues/71","id":277924020,"user":{"login":"vinkla","id":499192,"avatar_url":"https://avatars.githubusercontent.com/u/499192?v=3","gravatar_id":"","url":"https://api.github.com/users/vinkla","html_url":"https://github.com/vinkla","followers_url":"https://api.github.com/users/vinkla/followers","following_url":"https://api.github.com/users/vinkla/following{/other_user}","gists_url":"https://api.github.com/users/vinkla/gists{/gist_id}","starred_url":"https://api.github.com/users/vinkla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinkla/subscriptions","organizations_url":"https://api.github.com/users/vinkla/orgs","repos_url":"https://api.github.com/users/vinkla/repos","events_url":"https://api.github.com/users/vinkla/events{/privacy}","received_events_url":"https://api.github.com/users/vinkla/received_events","type":"User","site_admin":false},"created_at":"2017-02-07T07:42:38Z","updated_at":"2017-02-07T07:42:38Z","body":"Closing in favour of #72."}}
{"actor":{"display_login":"vinkla"}}