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

fp/update - updater is called with an empty object when path refers to a function #3203

Closed
oren-hollander opened this issue Jun 14, 2017 · 2 comments
Labels

Comments

@oren-hollander
Copy link

import { update, identity } from 'lodash/fp'
const original = { f: () => 1 }
const updated = update('f', identity, original)

updated.f is an empty object instead of f

@jdalton
Copy link
Member

jdalton commented Jun 14, 2017

Thanks @oren-hollander!

Closed by 5a3ff73.

@lock
Copy link

lock bot commented Dec 27, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants