⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Difference as map#70

Open
bashayerAlsalman wants to merge 5 commits intokr:mainfrom
bashayerAlsalman:difference-as-map
Open

Difference as map#70
bashayerAlsalman wants to merge 5 commits intokr:mainfrom
bashayerAlsalman:difference-as-map

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