{"action":"created","issue":{"url":"https://api.github.com/repos/vapor/fluent/issues/191","repository_url":"https://api.github.com/repos/vapor/fluent","labels_url":"https://api.github.com/repos/vapor/fluent/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/vapor/fluent/issues/191/comments","events_url":"https://api.github.com/repos/vapor/fluent/issues/191/events","html_url":"https://github.com/vapor/fluent/pull/191","id":208875829,"number":191,"title":"Child relation fix","user":{"login":"0xTim","id":9938337,"avatar_url":"https://avatars.githubusercontent.com/u/9938337?v=3","gravatar_id":"","url":"https://api.github.com/users/0xTim","html_url":"https://github.com/0xTim","followers_url":"https://api.github.com/users/0xTim/followers","following_url":"https://api.github.com/users/0xTim/following{/other_user}","gists_url":"https://api.github.com/users/0xTim/gists{/gist_id}","starred_url":"https://api.github.com/users/0xTim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xTim/subscriptions","organizations_url":"https://api.github.com/users/0xTim/orgs","repos_url":"https://api.github.com/users/0xTim/repos","events_url":"https://api.github.com/users/0xTim/events{/privacy}","received_events_url":"https://api.github.com/users/0xTim/received_events","type":"User","site_admin":false},"labels":[{"id":317684741,"url":"https://api.github.com/repos/vapor/fluent/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-20T13:11:55Z","updated_at":"2017-02-21T12:35:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/vapor/fluent/pulls/191","html_url":"https://github.com/vapor/fluent/pull/191","diff_url":"https://github.com/vapor/fluent/pull/191.diff","patch_url":"https://github.com/vapor/fluent/pull/191.patch"},"body":"This PR fixes getting children from the database when using the default Foreign ID caused by a bug where it was assuming the Parent was the same type as the Child\r\n\r\nUnsure about the `lowercased()` call - it needs to be done somewhere, but not sure if this is the correct place or not.\r\n\r\nAlso I've chosen 138 to merge into, but we probably need a 1.4 branch to put these changes onto for a release as Fluent 2 has changed completely (though the tests may be useful)"},"comment":{"url":"https://api.github.com/repos/vapor/fluent/issues/comments/281332765","html_url":"https://github.com/vapor/fluent/pull/191#issuecomment-281332765","issue_url":"https://api.github.com/repos/vapor/fluent/issues/191","id":281332765,"user":{"login":"0xTim","id":9938337,"avatar_url":"https://avatars.githubusercontent.com/u/9938337?v=3","gravatar_id":"","url":"https://api.github.com/users/0xTim","html_url":"https://github.com/0xTim","followers_url":"https://api.github.com/users/0xTim/followers","following_url":"https://api.github.com/users/0xTim/following{/other_user}","gists_url":"https://api.github.com/users/0xTim/gists{/gist_id}","starred_url":"https://api.github.com/users/0xTim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xTim/subscriptions","organizations_url":"https://api.github.com/users/0xTim/orgs","repos_url":"https://api.github.com/users/0xTim/repos","events_url":"https://api.github.com/users/0xTim/events{/privacy}","received_events_url":"https://api.github.com/users/0xTim/received_events","type":"User","site_admin":false},"created_at":"2017-02-21T12:35:28Z","updated_at":"2017-02-21T12:35:28Z","body":"Changes made"}}
{"actor":{"display_login":"0xTim"}}