Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce OnWillChangeCallback #26

Merged
merged 2 commits into from
Mar 19, 2018
Merged

Conversation

chrisabird
Copy link

@chrisabird chrisabird commented Mar 19, 2018

Adding in the OnWillChangeCallback this optional function is called after the converter is run and the optional distinct check. This allows for the onWillChange to be triggered dependant on the distinct check, and work within the context of a converted ViewModel

Two extra tests introduced to cover the StoreConnector and StoreBuilder

@codecov
Copy link

codecov bot commented Mar 19, 2018

Codecov Report

Merging #26 into master will increase coverage by 0.24%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #26      +/-   ##
==========================================
+ Coverage   95.58%   95.83%   +0.24%     
==========================================
  Files           1        1              
  Lines          68       72       +4     
==========================================
+ Hits           65       69       +4     
  Misses          3        3
Impacted Files Coverage Δ
lib/flutter_redux.dart 95.83% <100%> (+0.24%) ⬆️

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 2b31f1a...9c4d6bd. Read the comment docs.

@brianegan
Copy link
Owner

Excellent, thanks for the contribution & providing documentation / tests! Looks great :)

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

Successfully merging this pull request may close these issues.

3 participants