Sets error to true when payloadCreator return an Error object#43
Sets error to true when payloadCreator return an Error object#43kpaxqin wants to merge 1 commit into
Conversation
|
To me it makes more sense to check the resulting payload for an error than to check that the arg passed in was an error. +1 from me. |
|
I personally think that if you pass an error in as the payload, it should bypass your custom const createCoolAction = createAction(COOL_ACTION_TYPE, spec => {
const {zipCode, id} = spec;
return {body: {zipCode, id}};
});So, if I do something like, |
|
@yangmillstheory I think we can close this one because it is already in master, am I right? |
|
I think this is a bit different; what I see in This is saying that the |
|
Closing this as stale. Also, this duplicates the newer #43. |
No description provided.