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

feat: Add update mutator #13

Merged
merged 1 commit into from
Aug 23, 2018
Merged

Conversation

taneba
Copy link
Contributor

@taneba taneba commented Aug 7, 2018

What
This commit adds 'update' mutator which updates the value of the passed index of the array field.

Why
This helps user to update the value of arbitrary index of the array field at once. see #12

@codecov
Copy link

codecov bot commented Aug 7, 2018

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #13   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           8      9    +1     
  Lines          48     53    +5     
  Branches       10     11    +1     
=====================================
+ Hits           48     53    +5
Impacted Files Coverage Δ
src/update.js 100% <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 c237695...08a4056. Read the comment docs.

@erikras
Copy link
Member

erikras commented Aug 23, 2018

What a thorough PR! Well done! Thanks!

@erikras erikras merged commit c4d8fe0 into final-form:master Aug 23, 2018
@erikras
Copy link
Member

erikras commented Aug 23, 2018

Published in v1.1.0.

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.

2 participants