ItemReducer doesn't support retrieve
bhoomit opened this issue · comments
I don't see an "else if" condition for "action.type === this.actionTypes.retrieve" for retrive actions.
Oh, good point! The action should be available so adding retrieve
to the reducer, following the pattern of the other actions, should work ok. (Just noticed the _success
, _failure
code could probably be pulled out to a function so you don't have to type out the three cases for each action manually).
I've added retrieve to the reducer with some basic tests.
No problem!
On 29 Mar 2016 8:12 a.m., "Bhoomit" notifications@github.com wrote:
@mallison https://github.com/mallison cool, it works. Thanks :)
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#10 (comment)