ObjectsComparer
ObjectsComparer copied to clipboard
Use Dictionary Key for the diff member path
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.
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
Make sense. I'll think about it in the next version