Closed
Description
Having this original object:
originalResource = {
id: null,
name: null,
tags: [],
coordinates: null,
transforms: null
}
And the one with the updated property tags
resource = {
id: null,
name: null,
tags: ['lorem', 'ipsum'],
coordinates: null,
transforms: null
}
The result of doing
updatedDiff(originalResource.value, resource.value)
// {}
Am I missing something? I just wanted to use only updatedDiff()
method to make things easier.
Any advice will be appreciated
BTW, it would be interesting to have a method just for listing all properties that have been touched. I'm aware about detailedDiff()
, but in a plain way with no details could be useful for knowing what properties are "dirty"
Metadata
Metadata
Assignees
Labels
No labels