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.

[BUG] - Problems with immutable-Map

See original GitHub issue

Since the version “0.0.37” I get the following error:

[10:13:32] Process page   : AppState
[10:13:32] TypeError: Cannot read property 'map' of undefined

I use map in the following way:

import { Iterable, Map, Record } from "immutable";

export interface IModelWithRecord {
    _record: Map<string, any>;
}

Transpiling the application with tsc and the same tsconfig.json works.

Could you reproduce the error?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
vogloblinskycommented, Jan 26, 2017

Ok fixed, the support of decorators on properties is not supported right now. New version this afternoon.

0reactions
lock[bot]commented, Oct 1, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem. Why locking ? Having issues with the most up-to-date context.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Guava ImmutableMap has noticeably slower access than ...
As Louis Wasserman said, ImmutableMap is not optimized for objects with slow equals method. I think the main difference is here: HashMap:
Read more >
Best way to make a really big ImmutableMap - Google Groups
I've got a class that works fine, but its too big to make the javadoc compiler happy. It runs out o memory, thinking...
Read more >
Immutable Data Structures in Concurrent Java Applications
Some weird effects happen when we modify the state of keys in collections – they tend to disappear completely, together with their values,...
Read more >
[JDK-8238684] Override getOrDefault in immutable Map ...
Since null values are disallowed in the java.util immutable maps, we can improve upon the default implementation since a null return from get(key)...
Read more >
getting error in testng java lang NoClassDefFoundError com ...
getting this error java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableMap here is the code: ... newtours.demoaut.com/"); } }
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