JSON-Patch icon indicating copy to clipboard operation
JSON-Patch copied to clipboard

chore(applyPatch): correct comment

Open code-forger opened this issue 1 year ago • 0 comments

Sorry for the super tiny PR.

However in this comment, its noted that passing down the input param mutateDocument is unnecessary.

This is because in the case mutateDocument was **true** passing down true is effectively a no-op.

and in the case mutateDocument was **false** a deep clone has already taken place, so further deep clones are redundant and affect performance.

The comment had the above switched.

code-forger avatar Mar 06 '24 14:03 code-forger