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
Expected: returned is the patched root {a: [1, 2, 5]} and returnedIsSource is true.
Actual: source is patched, but returned is [1, 2, 5] and returnedIsSource is false. The path walk changes subObject to the nested array, so the final return subObject returns that container; returning obj would preserve the root result.
Activity
alvindev111 commentedon Oct 16, 2026
Confirmed on current
masteratd8c5dd18941062d8db7e9310ecc8f53fd607df54(checked 2026-10-17): the current implementation still returnssubObject.Expected:
returnedis the patched root{a: [1, 2, 5]}andreturnedIsSourceistrue.Actual:
sourceis patched, butreturnedis[1, 2, 5]andreturnedIsSourceisfalse. The path walk changessubObjectto the nested array, so the finalreturn subObjectreturns that container; returningobjwould preserve the root result.