You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to upgrade to 4.0.0 and ran into this issue. I use getIn() to get to nested values simply without having to do a bunch of chained get() calls. In v4 I notice if an object within the keyPath is null it'll complain
> I.Record({foo: null})().getIn(['foo', 'bar'], 'test')
Invalid keyPath: Value at ["foo"] does not have a .get() method: null
This warning will throw in a future version
'test'
Is this expected or is this actually an ok use of getIn() (I hope so)
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I'm attempting to upgrade to 4.0.0 and ran into this issue. I use getIn() to get to nested values simply without having to do a bunch of chained get() calls. In v4 I notice if an object within the keyPath is null it'll complain
v3
v4
Is this expected or is this actually an ok use of getIn() (I hope so)
Thanks!
The text was updated successfully, but these errors were encountered: