-
Notifications
You must be signed in to change notification settings - Fork 110
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
Item.set doesn't work as advertised #174
Comments
Changing from merge to extend would probably be backwards-incompatible change and potentially even dangerous if there are existing users that depend on merging strategy right now, no? It should probably be configurable either from the |
That's a legitimate worry. However, the current behavior is a bug. So perhaps there's a path to fixing this:
|
Unexpected as it is, it seems like the behaviour is by design, because Line 67 in 6246c13
|
I noticed two problems in
Item.set
.doesn't work.
Inspecting
tweet.attrs
reveals the value to beThe problem is that
_.merge
is used, which causes recursive merging._.extend
should be used instead.The text was updated successfully, but these errors were encountered: