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 migrated from a similar module called lodash-deep. It had the nice feature that the set function would return the target object, so you could make a new object from a literal and assign it like this:
var req = pathval.set({}, 'session.token.modelId', new ObjectID());
In pathval, req ends up undefined here.
The text was updated successfully, but these errors were encountered:
@keithamus seems reasonable to me too. Looks like a good idea.
I'll work on it as soon as I get some free time this weekend, it may be a pretty simple thing to do.
I migrated from a similar module called lodash-deep. It had the nice feature that the
set
function would return the target object, so you could make a new object from a literal and assign it like this:var req = pathval.set({}, 'session.token.modelId', new ObjectID());
In pathval,
req
ends up undefined here.The text was updated successfully, but these errors were encountered: