{"action":"created","issue":{"url":"https://api.github.com/repos/acdlite/flux-standard-action/issues/8","labels_url":"https://api.github.com/repos/acdlite/flux-standard-action/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/acdlite/flux-standard-action/issues/8/comments","events_url":"https://api.github.com/repos/acdlite/flux-standard-action/issues/8/events","html_url":"https://github.com/acdlite/flux-standard-action/issues/8","id":92927557,"number":8,"title":"Proposal","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":3,"created_at":"2015-07-03T19:49:35Z","updated_at":"2015-07-03T20:00:56Z","closed_at":null,"body":"Continuing from our conversation on slack:\r\n\r\n```js\r\n{\r\n  // string | number: a unique identifier for the dispatch\r\n  id: 'abcdef123',\r\n\r\n  // any: Symbol, string, number, object, function. A unique way to identify the action dispatched\r\n  type: ActionTypes.ADD_TODO,\r\n\r\n  // any: whatever is being dispatched\r\n  payload: { text: 'Create FSA Proposal' },\r\n\r\n  // information about the action itself\r\n  action: {\r\n    // string representation of the particular action type\r\n    // since Symbols are not strings and action type can be anything, having a way to identify an\r\n    // action as a string is useful for serializing, debugging, and logging.\r\n    id: 'ActionTypes.ADD_TODO'\r\n  },\r\n\r\n  // other information about the dispatch\r\n  meta: {\r\n    // no opinions here...\r\n    status: 'success'\r\n  }\r\n}\r\n```\r\n\r\nThere's a difference between dispatch and action. I need to uniquely identify dispatches, this is useful for time travel, rollback, etc. I also need to be able to unique identify actions, this is good for logging and debugging.\r\n\r\nI think this is a good MVP. I was using `details` for action information in alt but I think action is a better name."},"comment":{"url":"https://api.github.com/repos/acdlite/flux-standard-action/issues/comments/118417748","html_url":"https://github.com/acdlite/flux-standard-action/issues/8#issuecomment-118417748","issue_url":"https://api.github.com/repos/acdlite/flux-standard-action/issues/8","id":118417748,"user":{"login":"acdlite","id":3624098,"avatar_url":"https://avatars.githubusercontent.com/u/3624098?v=3","gravatar_id":"","url":"https://api.github.com/users/acdlite","html_url":"https://github.com/acdlite","followers_url":"https://api.github.com/users/acdlite/followers","following_url":"https://api.github.com/users/acdlite/following{/other_user}","gists_url":"https://api.github.com/users/acdlite/gists{/gist_id}","starred_url":"https://api.github.com/users/acdlite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acdlite/subscriptions","organizations_url":"https://api.github.com/users/acdlite/orgs","repos_url":"https://api.github.com/users/acdlite/repos","events_url":"https://api.github.com/users/acdlite/events{/privacy}","received_events_url":"https://api.github.com/users/acdlite/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T20:00:56Z","updated_at":"2015-07-03T20:00:56Z","body":"How are you distinguishing between the dispatch and the action? To me they're synonymous. I get your \"class vs. instance\" analogy from our Slack conversation, but I don't really think it fits. To me the only field here that kinda feels like a \"class\" property is `type`. And type is meant for introspection. Isn't everything else is specific to the dispatch or \"instance\"?"}}