DeepEqual icon indicating copy to clipboard operation
DeepEqual copied to clipboard

Is it possible to setup a map for properties?

Open the-dext opened this issue 4 years ago • 0 comments

Hi, Great library, thanks for putting this together.

Do you know if it's possible to setup an exception to the user comparison of matching properties so that if a property has been renamed we can check the objects were copied properly ?

for example. imagine type 1 has a 'lastName' property, and type 2 has a 'surname' property. Could we do something like 'mapProperty(x=> x.lastName, y=> y.surname)' ?

Thanks.

the-dext avatar Mar 04 '21 11:03 the-dext