{"action":"created","issue":{"url":"https://api.github.com/repos/flyvictor/fortune/issues/162","labels_url":"https://api.github.com/repos/flyvictor/fortune/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/flyvictor/fortune/issues/162/comments","events_url":"https://api.github.com/repos/flyvictor/fortune/issues/162/events","html_url":"https://github.com/flyvictor/fortune/issues/162","id":105565011,"number":162,"title":"Custom type should insert itself into hooks as necessary","user":{"login":"craigedmunds","id":1453591,"avatar_url":"https://avatars.githubusercontent.com/u/1453591?v=3","gravatar_id":"","url":"https://api.github.com/users/craigedmunds","html_url":"https://github.com/craigedmunds","followers_url":"https://api.github.com/users/craigedmunds/followers","following_url":"https://api.github.com/users/craigedmunds/following{/other_user}","gists_url":"https://api.github.com/users/craigedmunds/gists{/gist_id}","starred_url":"https://api.github.com/users/craigedmunds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigedmunds/subscriptions","organizations_url":"https://api.github.com/users/craigedmunds/orgs","repos_url":"https://api.github.com/users/craigedmunds/repos","events_url":"https://api.github.com/users/craigedmunds/events{/privacy}","received_events_url":"https://api.github.com/users/craigedmunds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-09T10:03:56Z","updated_at":"2016-02-01T10:21:22Z","closed_at":null,"body":"Example of custom types in https://github.com/Azzoo/fortune/blob/patch-3/test/app.js\r\n\r\nIf a custom type is registered, it should have the opportunity to participate in the read/write fortune lifecycle to manipulate the data travelling into & out of the API.\r\n\r\nThis will avoid the need to manually add hooks to each resource to do any manipulations (provide our date example as a starting point)"},"comment":{"url":"https://api.github.com/repos/flyvictor/fortune/issues/comments/177895160","html_url":"https://github.com/flyvictor/fortune/issues/162#issuecomment-177895160","issue_url":"https://api.github.com/repos/flyvictor/fortune/issues/162","id":177895160,"user":{"login":"dmskr","id":22829,"avatar_url":"https://avatars.githubusercontent.com/u/22829?v=3","gravatar_id":"","url":"https://api.github.com/users/dmskr","html_url":"https://github.com/dmskr","followers_url":"https://api.github.com/users/dmskr/followers","following_url":"https://api.github.com/users/dmskr/following{/other_user}","gists_url":"https://api.github.com/users/dmskr/gists{/gist_id}","starred_url":"https://api.github.com/users/dmskr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmskr/subscriptions","organizations_url":"https://api.github.com/users/dmskr/orgs","repos_url":"https://api.github.com/users/dmskr/repos","events_url":"https://api.github.com/users/dmskr/events{/privacy}","received_events_url":"https://api.github.com/users/dmskr/received_events","type":"User","site_admin":false},"created_at":"2016-02-01T10:21:21Z","updated_at":"2016-02-01T10:21:21Z","body":"closed here: https://github.com/flyvictor/fortune/pull/180\r\nand here: https://github.com/flyvictor/fortune/pull/181"}}