-
Couldn't load subscription status.
- Fork 243
feat: merge mixins options #262
Conversation
Codecov Report
@@ Coverage Diff @@
## master #262 +/- ##
==========================================
+ Coverage 40.3% 41.57% +1.26%
==========================================
Files 18 18
Lines 263 267 +4
==========================================
+ Hits 106 111 +5
+ Misses 157 156 -1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great PR! Thanks for your contribution. Just a small nit on code style (which isn't even your code) that wouldn't hurt to clean up 🙈
src/shared/getComponentOption.js
Outdated
| if (typeof data === 'object') { | ||
| // merge with existing options | ||
| return deepmerge(result, data, { arrayMerge }) | ||
| } else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When extracting the code into a separate function, you could also get rid of that unnecessary else
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure! I'll do that as soon as I'm back home 👍
|
LGTM! (cc @atinux) |
|
Any news on when this PR can be merged 🙂? |
|
Released to v1.5.4, thanks @adrienbaron |
Closes #261