{"action":"created","issue":{"url":"https://api.github.com/repos/upper/bond/issues/7","labels_url":"https://api.github.com/repos/upper/bond/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/upper/bond/issues/7/comments","events_url":"https://api.github.com/repos/upper/bond/issues/7/events","html_url":"https://github.com/upper/bond/pull/7","id":103152966,"number":7,"title":"Adding test for AfterCreate (with an optional session argument).","user":{"login":"xiam","id":385670,"avatar_url":"https://avatars.githubusercontent.com/u/385670?v=3","gravatar_id":"","url":"https://api.github.com/users/xiam","html_url":"https://github.com/xiam","followers_url":"https://api.github.com/users/xiam/followers","following_url":"https://api.github.com/users/xiam/following{/other_user}","gists_url":"https://api.github.com/users/xiam/gists{/gist_id}","starred_url":"https://api.github.com/users/xiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiam/subscriptions","organizations_url":"https://api.github.com/users/xiam/orgs","repos_url":"https://api.github.com/users/xiam/repos","events_url":"https://api.github.com/users/xiam/events{/privacy}","received_events_url":"https://api.github.com/users/xiam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-26T01:59:24Z","updated_at":"2015-08-26T02:31:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/upper/bond/pulls/7","html_url":"https://github.com/upper/bond/pull/7","diff_url":"https://github.com/upper/bond/pull/7.diff","patch_url":"https://github.com/upper/bond/pull/7.patch"},"body":"I created this PR to discuss about the `AfterCreate()` within a transaction context problem you mentioned earlier @pkieltyka. "},"comment":{"url":"https://api.github.com/repos/upper/bond/issues/comments/134796042","html_url":"https://github.com/upper/bond/pull/7#issuecomment-134796042","issue_url":"https://api.github.com/repos/upper/bond/issues/7","id":134796042,"user":{"login":"xiam","id":385670,"avatar_url":"https://avatars.githubusercontent.com/u/385670?v=3","gravatar_id":"","url":"https://api.github.com/users/xiam","html_url":"https://github.com/xiam","followers_url":"https://api.github.com/users/xiam/followers","following_url":"https://api.github.com/users/xiam/following{/other_user}","gists_url":"https://api.github.com/users/xiam/gists{/gist_id}","starred_url":"https://api.github.com/users/xiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiam/subscriptions","organizations_url":"https://api.github.com/users/xiam/orgs","repos_url":"https://api.github.com/users/xiam/repos","events_url":"https://api.github.com/users/xiam/events{/privacy}","received_events_url":"https://api.github.com/users/xiam/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T02:31:34Z","updated_at":"2015-08-26T02:31:34Z","body":">  I think even Validate() can take it.. why not, perhaps someone will want to do another query to validate something\r\n\r\nI am not so sure about that, I think `Validate()` is good as it currently is because it only checks input data, besides we can always use `BeforeCreate()` if we want to use queries for any extra check before inserting a new row."}}