{"action":"created","issue":{"url":"https://api.github.com/repos/ovh/cds/issues/2427","repository_url":"https://api.github.com/repos/ovh/cds","labels_url":"https://api.github.com/repos/ovh/cds/issues/2427/labels{/name}","comments_url":"https://api.github.com/repos/ovh/cds/issues/2427/comments","events_url":"https://api.github.com/repos/ovh/cds/issues/2427/events","html_url":"https://github.com/ovh/cds/pull/2427","id":307392984,"number":2427,"title":"Refactor gorp json","user":{"login":"fsamin","id":684151,"avatar_url":"https://avatars1.githubusercontent.com/u/684151?v=4","gravatar_id":"","url":"https://api.github.com/users/fsamin","html_url":"https://github.com/fsamin","followers_url":"https://api.github.com/users/fsamin/followers","following_url":"https://api.github.com/users/fsamin/following{/other_user}","gists_url":"https://api.github.com/users/fsamin/gists{/gist_id}","starred_url":"https://api.github.com/users/fsamin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsamin/subscriptions","organizations_url":"https://api.github.com/users/fsamin/orgs","repos_url":"https://api.github.com/users/fsamin/repos","events_url":"https://api.github.com/users/fsamin/events{/privacy}","received_events_url":"https://api.github.com/users/fsamin/received_events","type":"User","site_admin":false},"labels":[{"id":827850417,"url":"https://api.github.com/repos/ovh/cds/labels/review","name":"review","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-21T19:47:06Z","updated_at":"2018-03-22T19:40:32Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/ovh/cds/pulls/2427","html_url":"https://github.com/ovh/cds/pull/2427","diff_url":"https://github.com/ovh/cds/pull/2427.diff","patch_url":"https://github.com/ovh/cds/pull/2427.patch"},"body":"[PROPOSAL]\r\n\r\ni try to manage automatically with gorp the json field of our entities.\r\nHere it's done with sdk.Application. \r\n\r\nFor the moment, we have to call manually the function in the DAO, but we can remove the `PostInsert` and `PostUpdate` hooks.\r\n\r\nNext step is to remove to be able to remove the `PostGet` hooks.\r\n\r\nWhat do you think ? would it be fine for you ?\r\n\r\nFYI: the technical part of the code is in the commit 8e962b4, usage of the feature on an entity is in commit 0ce26ab"},"comment":{"url":"https://api.github.com/repos/ovh/cds/issues/comments/375432799","html_url":"https://github.com/ovh/cds/pull/2427#issuecomment-375432799","issue_url":"https://api.github.com/repos/ovh/cds/issues/2427","id":375432799,"user":{"login":"fsamin","id":684151,"avatar_url":"https://avatars1.githubusercontent.com/u/684151?v=4","gravatar_id":"","url":"https://api.github.com/users/fsamin","html_url":"https://github.com/fsamin","followers_url":"https://api.github.com/users/fsamin/followers","following_url":"https://api.github.com/users/fsamin/following{/other_user}","gists_url":"https://api.github.com/users/fsamin/gists{/gist_id}","starred_url":"https://api.github.com/users/fsamin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsamin/subscriptions","organizations_url":"https://api.github.com/users/fsamin/orgs","repos_url":"https://api.github.com/users/fsamin/repos","events_url":"https://api.github.com/users/fsamin/events{/privacy}","received_events_url":"https://api.github.com/users/fsamin/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T19:40:32Z","updated_at":"2018-03-22T19:40:32Z","author_association":"MEMBER","body":"finally is think if will override a gorp.Dialect as explained here: https://github.com/go-gorp/gorp/issues/254#issuecomment-248733253\r\n"}}
{"actor":{"display_login":"fsamin"}}