Closed polytypic closed 6 years ago
Merging #139 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #139 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 1 1
Lines 971 977 +6
=====================================
+ Hits 971 977 +6
Impacted Files | Coverage Δ | |
---|---|---|
dist/partial.lenses.cjs.js | 100% <0%> (ø) |
:arrow_up: |
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 b36853e...e268a31. Read the comment docs.
This changes the behaviour ofActually, the old behaviour was reasonable and was based on the idea that when writing through either theL.branch({})
, which was previously treated as a special case.L.branch
or theL.values
traversal, the result will be an object in case the traversal actually targets something. So, for example, writing withL.values
through a non-object results in the non-object and writing throughL.branch({})
is a no-op, because neither targets any elements.