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
The default behavior would stay "lodash like", that is failsafe and do the best we can.
The "do the best we can" is to be defined depending on the case.
As suggested by @EmrysMyrddin it would be nice to have a way of changing the default behavior, for example turn all of immutadot in null check mode.
The text was updated successfully, but these errors were encountered:
Looks really cool! 💯 Could you add some more examples to cover the following cases so we can have a broader view of impacts?
array notation
access to properties ending with ? and !
The obvious downside is the increasing complexity of the path syntax and associated parser, but I guess this syntax is one of the corner stone of the lib so I'm OK with it.
Description
Add optional chaining operator in path notation :
Also add a null check operator :
The default behavior would stay "lodash like", that is failsafe and do the best we can.
The "do the best we can" is to be defined depending on the case.
As suggested by @EmrysMyrddin it would be nice to have a way of changing the default behavior, for example turn all of immutadot in null check mode.
The text was updated successfully, but these errors were encountered: