{"action":"created","issue":{"url":"https://api.github.com/repos/senecajs/seneca/issues/26","repository_url":"https://api.github.com/repos/senecajs/seneca","labels_url":"https://api.github.com/repos/senecajs/seneca/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/senecajs/seneca/issues/26/comments","events_url":"https://api.github.com/repos/senecajs/seneca/issues/26/events","html_url":"https://github.com/senecajs/seneca/issues/26","id":30360863,"number":26,"title":"Promise support for common API","user":{"login":"oliverzy","id":1321817,"avatar_url":"https://avatars.githubusercontent.com/u/1321817?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverzy","html_url":"https://github.com/oliverzy","followers_url":"https://api.github.com/users/oliverzy/followers","following_url":"https://api.github.com/users/oliverzy/following{/other_user}","gists_url":"https://api.github.com/users/oliverzy/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverzy/subscriptions","organizations_url":"https://api.github.com/users/oliverzy/orgs","repos_url":"https://api.github.com/users/oliverzy/repos","events_url":"https://api.github.com/users/oliverzy/events{/privacy}","received_events_url":"https://api.github.com/users/oliverzy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/senecajs/seneca/labels/feature","name":"feature","color":"5319e7"},{"url":"https://api.github.com/repos/senecajs/seneca/labels/request","name":"request","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":41,"created_at":"2014-03-28T03:26:26Z","updated_at":"2016-03-11T11:47:39Z","closed_at":null,"body":"Hi,\r\n\r\nWhen I experiments with Seneca, I found two much callback needed especially about data entity.\r\n\r\nPromise is a very good way to improve callback hell and provide robust error handling mechanism.\r\n\r\nWhat about adding promise support for seneca.act and data entity api like save$/load$ and so on?\n\n\n[Trello Card](https://trello.com/c/vTgPfa46/81-seneca-promise-support-for-common-api)"},"comment":{"url":"https://api.github.com/repos/senecajs/seneca/issues/comments/195335123","html_url":"https://github.com/senecajs/seneca/issues/26#issuecomment-195335123","issue_url":"https://api.github.com/repos/senecajs/seneca/issues/26","id":195335123,"user":{"login":"japel","id":2742448,"avatar_url":"https://avatars.githubusercontent.com/u/2742448?v=3","gravatar_id":"","url":"https://api.github.com/users/japel","html_url":"https://github.com/japel","followers_url":"https://api.github.com/users/japel/followers","following_url":"https://api.github.com/users/japel/following{/other_user}","gists_url":"https://api.github.com/users/japel/gists{/gist_id}","starred_url":"https://api.github.com/users/japel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/japel/subscriptions","organizations_url":"https://api.github.com/users/japel/orgs","repos_url":"https://api.github.com/users/japel/repos","events_url":"https://api.github.com/users/japel/events{/privacy}","received_events_url":"https://api.github.com/users/japel/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T11:47:39Z","updated_at":"2016-03-11T11:47:39Z","body":"@geek was just trying out the example at:\r\nhttps://github.com/senecajs/senecajs.org/blob/master/src/pages/tutorials/seneca-with-promises.md#advanced-example\r\n\r\nand got:\r\n```javascript\r\n2016-03-11T11:42:40.685Z b5tr3kr5vzx8/1457696560620/1544/- INFO\thello\tSeneca/1.3.0/b5tr3kr5vzx8/1457696560620/1544/-\t\r\n[TypeError: Object #<Object> has no method 'idgen']\r\n```"}}