question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

assocPath seems to be broken in 0.23.0

See original GitHub issue

This 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:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
CrossEyecommented, Jan 23, 2017

We haven’t yet. I will try to get a patch release out next weekend.

0reactions
CrossEyecommented, Oct 10, 2017

Closed in favor of #2315.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found