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

Difference as map #70

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

bashayerAlsalman
Copy link

A new method is written called DiffAsMap in Diff package. the aim of this method is to format the difference result as the following: ["Attribute Name": Data{ From: "old value", To: "new value" }], to ease the fetch and use each one of these before/after change values.
in case of sending primitive types to DiffAsMap, for example string here is the result: ["String": Data{ From: "old value", To: "new value" }].

bashayer alsalman added 5 commits October 7, 2020 12:36
…is the name of the attribute or the element kind, and the value is the old and new value in this format data{from, to}
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

Successfully merging this pull request may close these issues.

1 participant