Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Dictionary Key for the diff member path #35

Open
tmenezes opened this issue Nov 22, 2021 · 2 comments
Open

Use Dictionary Key for the diff member path #35

tmenezes opened this issue Nov 22, 2021 · 2 comments
Milestone

Comments

@tmenezes
Copy link

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
Copy link
Author

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

@ValeraT1982
Copy link
Owner

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

@ValeraT1982 ValeraT1982 added this to the 2.0 milestone Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants