{"action":"created","issue":{"url":"https://api.github.com/repos/goatslacker/alt/issues/226","labels_url":"https://api.github.com/repos/goatslacker/alt/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/goatslacker/alt/issues/226/comments","events_url":"https://api.github.com/repos/goatslacker/alt/issues/226/events","html_url":"https://github.com/goatslacker/alt/pull/226","id":72548537,"number":226,"title":"Pass action details through the dispatch","user":{"login":"goatslacker","id":10632,"avatar_url":"https://avatars.githubusercontent.com/u/10632?v=3","gravatar_id":"","url":"https://api.github.com/users/goatslacker","html_url":"https://github.com/goatslacker","followers_url":"https://api.github.com/users/goatslacker/followers","following_url":"https://api.github.com/users/goatslacker/following{/other_user}","gists_url":"https://api.github.com/users/goatslacker/gists{/gist_id}","starred_url":"https://api.github.com/users/goatslacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goatslacker/subscriptions","organizations_url":"https://api.github.com/users/goatslacker/orgs","repos_url":"https://api.github.com/users/goatslacker/repos","events_url":"https://api.github.com/users/goatslacker/events{/privacy}","received_events_url":"https://api.github.com/users/goatslacker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-01T23:37:54Z","updated_at":"2015-05-04T17:28:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/goatslacker/alt/pulls/226","html_url":"https://github.com/goatslacker/alt/pull/226","diff_url":"https://github.com/goatslacker/alt/pull/226.diff","patch_url":"https://github.com/goatslacker/alt/pull/226.patch"},"body":"Fixes #192 we pass in a whole slew of details through the dispatch.\r\n\r\nFor this action class:\r\n\r\n```js\r\nclass MyActions {\r\n  static displayName = 'MyActions'\r\n\r\n  updateName(name) { this.dispatch(name) }\r\n}\r\n```\r\n\r\nwe would get this info:\r\n\r\n```js\r\ndetails: {\r\n  namespace: 'MyActions',\r\n  name: 'updateName',\r\n  id: 'MyActions.updateName',\r\n  symbol: Symbol('alt/MyActions.updateName')\r\n}\r\n```\r\n\r\nyou can extra it via `payload.details`."},"comment":{"url":"https://api.github.com/repos/goatslacker/alt/issues/comments/98786743","html_url":"https://github.com/goatslacker/alt/pull/226#issuecomment-98786743","issue_url":"https://api.github.com/repos/goatslacker/alt/issues/226","id":98786743,"user":{"login":"spikebrehm","id":133937,"avatar_url":"https://avatars.githubusercontent.com/u/133937?v=3","gravatar_id":"","url":"https://api.github.com/users/spikebrehm","html_url":"https://github.com/spikebrehm","followers_url":"https://api.github.com/users/spikebrehm/followers","following_url":"https://api.github.com/users/spikebrehm/following{/other_user}","gists_url":"https://api.github.com/users/spikebrehm/gists{/gist_id}","starred_url":"https://api.github.com/users/spikebrehm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spikebrehm/subscriptions","organizations_url":"https://api.github.com/users/spikebrehm/orgs","repos_url":"https://api.github.com/users/spikebrehm/repos","events_url":"https://api.github.com/users/spikebrehm/events{/privacy}","received_events_url":"https://api.github.com/users/spikebrehm/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T17:28:47Z","updated_at":"2015-05-04T17:28:47Z","body":"Thank you! :+1: "}}