ObjectsComparer icon indicating copy to clipboard operation
ObjectsComparer copied to clipboard

Use Dictionary Key for the diff member path

Open tmenezes opened this issue 2 years ago • 2 comments

Issue: While comparing two dictionaries, it isn't easy to identify what is the item that contains difference if the item key isn't exposed.

Solution proposal: While using dictionaries, the Key property could be used as MemberPath in order to identify the item like the Property Name does for any complex object.

tmenezes avatar Nov 22 '21 19:11 tmenezes

I just realized that we have support for ExpandoObject which is an implementation of IDictionary<string, object>... So, it should be straight forward to bring such functionality for regular generic dictionaries as well

tmenezes avatar Nov 22 '21 19:11 tmenezes

Make sense. I'll think about it in the next version

ValeraT1982 avatar Nov 23 '21 01:11 ValeraT1982