assocPath seems to be broken in 0.23.0
See original GitHub issueThis is my code:
const scope = {
baseValues: undefined,
}
assocPath(
["baseValues", "income", "categoryGroups"],
{ '9': { categories: { '32': 4 } } },
scope,
)
Which works in 0.22.1 but is broken in 0.23.0. The error is: “Cannot convert undefined or null to object”. There is nothing mentioned in the upgrade guide, so I assume this is not expected behaviour.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
var - Ramda Documentation
Creates a new list iteration function from an existing one by adding two new parameters to its callback function: the current index, and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We haven’t yet. I will try to get a patch release out next weekend.
Closed in favor of #2315.