{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/13724","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/13724/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/13724/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/13724/events","html_url":"https://github.com/laravel/framework/pull/13724","id":157005482,"number":13724,"title":"[5.2] Apply constraints to a morphTo relation on eager load","user":{"login":"phroggyy","id":7256451,"avatar_url":"https://avatars.githubusercontent.com/u/7256451?v=3","gravatar_id":"","url":"https://api.github.com/users/phroggyy","html_url":"https://github.com/phroggyy","followers_url":"https://api.github.com/users/phroggyy/followers","following_url":"https://api.github.com/users/phroggyy/following{/other_user}","gists_url":"https://api.github.com/users/phroggyy/gists{/gist_id}","starred_url":"https://api.github.com/users/phroggyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phroggyy/subscriptions","organizations_url":"https://api.github.com/users/phroggyy/orgs","repos_url":"https://api.github.com/users/phroggyy/repos","events_url":"https://api.github.com/users/phroggyy/events{/privacy}","received_events_url":"https://api.github.com/users/phroggyy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-05-26T15:03:34Z","updated_at":"2016-06-02T07:11:31Z","closed_at":"2016-05-26T20:40:56Z","pull_request":{"url":"https://api.github.com/repos/laravel/framework/pulls/13724","html_url":"https://github.com/laravel/framework/pull/13724","diff_url":"https://github.com/laravel/framework/pull/13724.diff","patch_url":"https://github.com/laravel/framework/pull/13724.patch"},"body":"Previously, using `Model::load` or `with` and supplying eager load constraints would make no difference if the loaded relationship was of the MorphTo type, as eager load constraints were not applied for this class. This PR fixes that."},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/223213378","html_url":"https://github.com/laravel/framework/pull/13724#issuecomment-223213378","issue_url":"https://api.github.com/repos/laravel/framework/issues/13724","id":223213378,"user":{"login":"acasar","id":6329543,"avatar_url":"https://avatars.githubusercontent.com/u/6329543?v=3","gravatar_id":"","url":"https://api.github.com/users/acasar","html_url":"https://github.com/acasar","followers_url":"https://api.github.com/users/acasar/followers","following_url":"https://api.github.com/users/acasar/following{/other_user}","gists_url":"https://api.github.com/users/acasar/gists{/gist_id}","starred_url":"https://api.github.com/users/acasar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acasar/subscriptions","organizations_url":"https://api.github.com/users/acasar/orgs","repos_url":"https://api.github.com/users/acasar/repos","events_url":"https://api.github.com/users/acasar/events{/privacy}","received_events_url":"https://api.github.com/users/acasar/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T07:11:31Z","updated_at":"2016-06-02T07:11:31Z","body":"@dwightwatson Should be fixed on 5.2 dev. Can you check?"}}
{"actor":{"display_login":"acasar"}}