Closed thim81 closed 2 months ago
@nicklloyd Do you see any risk or side-effect of this?
it's getting 'set' later in the flow yea? You're just removing it beforehand if it's an object?
it's getting 'set' later in the flow yea? You're just removing it beforehand if it's an object?
Yes, we are removing the "object" to replace it with a "string" value,
// Update property from object
return dot.str(path, newValue, objectOrArray)
since the "dotObject" library cannot handle overwriting an object, so it throws an error.
seems fine... can't recall if it was just bloat that kept us from using lodash... they've fixed all that with more recent version
Sidetrack: Do you suggest that we can/should replace DotObject with Lodash?
linked to #646
Result before:
Result after: