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

Implement merge #154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Implement merge #154

wants to merge 1 commit into from

Conversation

srph
Copy link
Contributor

@srph srph commented Apr 29, 2017

For #151

Supported

  • merge({ text })
  • merge('fetch', { loading: false })
  • merge(state.comments, '34.replies.5', { text })

Todo

  • Value keypaths (merge(state.comments, { '0.replies.1': { text } }))
  • Argument validation
  • Docs

Are there any other important features I missed in the list?

@@ -4,7 +4,7 @@
"description": "common javascript utils that can be required selectively that assume es5+",
"main": "index.js",
"scripts": {
"test": "lab -c -t 100 -a code",
"test": "lab --leaks -c -t 100 -a code",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests can't be ran without --leaks. I can remove this once I'm done with most items.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to update lab. Happy to switch off too. I've been having this problem with other projects. You can leave the leak flag..

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