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
Apparently, deep-diff returns a 'D' type and path element if rhs is {}.
But it returns an 'E" type and no path element if rhs is null.
I think rhs is null should also return a 'D' type with path element.
If lhs is {} d-d returns 'N' type with path element.
But, if lhs is null, d-d also returns an 'E' type with no path element. Should be 'N' type with path.
Documentation says:
`v 0.2.0 and above The code snippet above would result in the following structure describing the differences:
[ { kind: 'E',
path: [ 'name' ],
lhs: 'my object',
rhs: 'updated object' },
...
But
path` key is actually not present in the result.The text was updated successfully, but these errors were encountered: