Open
Description
Currently, setting { excludeKeys:['id'] }
prevents { outputKeys=['id'] }
or { full:true }
from working as documented.
The documented behavior for outputKeys
is Always print this comma separated keys, with their value, if they are part of an object with any diff while excludeKeys
is only to exclude from the comparison.
Use case: We're using the lib to compare a list of object, we do not want to compare the id
property which is database generated and has no incidence, but I would like to be able to have it in the output so that the user has a better context to identify which object has changed.
Metadata
Metadata
Assignees
Labels
No labels