{"action":"created","issue":{"url":"https://api.github.com/repos/pburtchaell/redux-promise-middleware/issues/14","labels_url":"https://api.github.com/repos/pburtchaell/redux-promise-middleware/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/pburtchaell/redux-promise-middleware/issues/14/comments","events_url":"https://api.github.com/repos/pburtchaell/redux-promise-middleware/issues/14/events","html_url":"https://github.com/pburtchaell/redux-promise-middleware/issues/14","id":114108655,"number":14,"title":"The dispatched actions don't need an undefined payload/meta","user":{"login":"AugustinLF","id":5271169,"avatar_url":"https://avatars.githubusercontent.com/u/5271169?v=3","gravatar_id":"","url":"https://api.github.com/users/AugustinLF","html_url":"https://github.com/AugustinLF","followers_url":"https://api.github.com/users/AugustinLF/followers","following_url":"https://api.github.com/users/AugustinLF/following{/other_user}","gists_url":"https://api.github.com/users/AugustinLF/gists{/gist_id}","starred_url":"https://api.github.com/users/AugustinLF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AugustinLF/subscriptions","organizations_url":"https://api.github.com/users/AugustinLF/orgs","repos_url":"https://api.github.com/users/AugustinLF/repos","events_url":"https://api.github.com/users/AugustinLF/events{/privacy}","received_events_url":"https://api.github.com/users/AugustinLF/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pburtchaell/redux-promise-middleware/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-29T17:53:37Z","updated_at":"2015-11-06T15:29:45Z","closed_at":"2015-11-06T15:29:45Z","body":"Right now, redux-promise-middleware dispatches actions with the keys meta and payload with an undefined value, even if they were not passed (for instance, the pending action, without any data provided will have an undefined payload).\r\n\r\nWhen testing actions, it forces me to specify the undefined values if I want to use a `deepEqual`. I agree that this is not big problem, but since the [FSA spec](https://github.com/acdlite/flux-standard-action) states that this keys are not necessary, I don't think that redux-promise-middleware should add them.\r\n\r\nIf you agree, I'll gladly submit a PR."},"comment":{"url":"https://api.github.com/repos/pburtchaell/redux-promise-middleware/issues/comments/154438403","html_url":"https://github.com/pburtchaell/redux-promise-middleware/issues/14#issuecomment-154438403","issue_url":"https://api.github.com/repos/pburtchaell/redux-promise-middleware/issues/14","id":154438403,"user":{"login":"AugustinLF","id":5271169,"avatar_url":"https://avatars.githubusercontent.com/u/5271169?v=3","gravatar_id":"","url":"https://api.github.com/users/AugustinLF","html_url":"https://github.com/AugustinLF","followers_url":"https://api.github.com/users/AugustinLF/followers","following_url":"https://api.github.com/users/AugustinLF/following{/other_user}","gists_url":"https://api.github.com/users/AugustinLF/gists{/gist_id}","starred_url":"https://api.github.com/users/AugustinLF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AugustinLF/subscriptions","organizations_url":"https://api.github.com/users/AugustinLF/orgs","repos_url":"https://api.github.com/users/AugustinLF/repos","events_url":"https://api.github.com/users/AugustinLF/events{/privacy}","received_events_url":"https://api.github.com/users/AugustinLF/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T15:29:45Z","updated_at":"2015-11-06T15:29:45Z","body":"Everything works perfectly, thanks a lot!"}}