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
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.
The text was updated successfully, but these errors were encountered:
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 whileexcludeKeys
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.The text was updated successfully, but these errors were encountered: