Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Allow mapStateToProps to amend existing rpc arguments #129

Merged
merged 1 commit into from
Oct 1, 2018

Conversation

ian505c5
Copy link
Contributor

@ian505c5 ian505c5 commented Sep 28, 2018

This allows for mapToState to amend incoming request params, not simply overwrite. A case where this is helpful is to populate values stored in redux that are common to multiple or all requests.

This resolves #126

@CLAassistant
Copy link

CLAassistant commented Sep 28, 2018

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented Sep 28, 2018

Codecov Report

Merging #129 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #129   +/-   ##
=======================================
  Coverage   96.72%   96.72%           
=======================================
  Files           1        1           
  Lines          61       61           
  Branches       13       13           
=======================================
  Hits           59       59           
  Misses          1        1           
  Partials        1        1
Impacted Files Coverage Δ
src/index.js 96.72% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2abe122...c661ba4. Read the comment docs.

@ganemone
Copy link
Contributor

ganemone commented Oct 1, 2018

!merge

@old-fusion-bot old-fusion-bot bot merged commit 4143689 into fusionjs:master Oct 1, 2018
@AlexMSmithCA AlexMSmithCA mentioned this pull request Oct 2, 2018
@akre54
Copy link

akre54 commented Oct 24, 2018

I was just coming here to create this diff. Thanks @ian505c5 !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow mapStateToProps to amend existing arguments
5 participants