{"action":"created","issue":{"url":"https://api.github.com/repos/acdlite/redux-promise/issues/45","repository_url":"https://api.github.com/repos/acdlite/redux-promise","labels_url":"https://api.github.com/repos/acdlite/redux-promise/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/acdlite/redux-promise/issues/45/comments","events_url":"https://api.github.com/repos/acdlite/redux-promise/issues/45/events","html_url":"https://github.com/acdlite/redux-promise/issues/45","id":184581135,"number":45,"title":"Where is the action's status set to \"success\" or \"error\"?","user":{"login":"jcroll","id":1441013,"avatar_url":"https://avatars1.githubusercontent.com/u/1441013?v=3","gravatar_id":"","url":"https://api.github.com/users/jcroll","html_url":"https://github.com/jcroll","followers_url":"https://api.github.com/users/jcroll/followers","following_url":"https://api.github.com/users/jcroll/following{/other_user}","gists_url":"https://api.github.com/users/jcroll/gists{/gist_id}","starred_url":"https://api.github.com/users/jcroll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcroll/subscriptions","organizations_url":"https://api.github.com/users/jcroll/orgs","repos_url":"https://api.github.com/users/jcroll/repos","events_url":"https://api.github.com/users/jcroll/events{/privacy}","received_events_url":"https://api.github.com/users/jcroll/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-21T22:09:56Z","updated_at":"2017-03-28T18:41:06Z","closed_at":null,"body":"In your documentation it says:\n\n> If it receives an Flux Standard Action whose `payload` is a promise, it will either\n> - dispatch a copy of the action with the resolved value of the promise, and set `status` to `success`.\n> - dispatch a copy of the action with the rejected value of the promise, and set `status` to `error`.\n\nI see no other mention of this status field anywhere in the code of this library and I have not seen any field in my resolved action in my testing of this library.\n\nThere is a field called `error` but I am more interested in knowing whether there has been a successful request.\n\nDoes it still exist or perhaps this is legacy from and earlier spec of FSA?\n\nI ask b/c I am looking for a way to use FSA to determine if an action is in the process of making a request (e.g. `isFetching`) how to do this?\n"},"comment":{"url":"https://api.github.com/repos/acdlite/redux-promise/issues/comments/289865454","html_url":"https://github.com/acdlite/redux-promise/issues/45#issuecomment-289865454","issue_url":"https://api.github.com/repos/acdlite/redux-promise/issues/45","id":289865454,"user":{"login":"clownvary","id":6481427,"avatar_url":"https://avatars3.githubusercontent.com/u/6481427?v=3","gravatar_id":"","url":"https://api.github.com/users/clownvary","html_url":"https://github.com/clownvary","followers_url":"https://api.github.com/users/clownvary/followers","following_url":"https://api.github.com/users/clownvary/following{/other_user}","gists_url":"https://api.github.com/users/clownvary/gists{/gist_id}","starred_url":"https://api.github.com/users/clownvary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clownvary/subscriptions","organizations_url":"https://api.github.com/users/clownvary/orgs","repos_url":"https://api.github.com/users/clownvary/repos","events_url":"https://api.github.com/users/clownvary/events{/privacy}","received_events_url":"https://api.github.com/users/clownvary/received_events","type":"User","site_admin":false},"created_at":"2017-03-28T18:41:06Z","updated_at":"2017-03-28T18:41:06Z","body":"@mateomurphy ,u are right, i write a demo and test it, in my case there is no 'status', the right result is : \r\n- resolve\r\n```\r\naction:{\r\ntype:xxx,\r\npayload:{xxx}\r\n}\r\n```\r\n- reject\r\n```\r\naction:{\r\ntype:xxx,\r\npayload:{xxx},\r\nerror:true\r\n}\r\n```\r\nso we just can only use `error` as a condition to judge it.\r\n"}}
{"actor":{"display_login":"clownvary"}}