Skip to content

extend logic for updatedDiff #36

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

Closed
yurks opened this issue Jul 6, 2018 · 2 comments
Closed

extend logic for updatedDiff #36

yurks opened this issue Jul 6, 2018 · 2 comments

Comments

@yurks
Copy link

yurks commented Jul 6, 2018

For now .updatedDiff() method returns summary of updated keys with actual values.
All seems correct, but..
We already have new fresh object received with all actual data inside. Imagine we would like to save it and overwrite an old data. And wand to preserve changes history. No chance to get previous data for updated keys for now.

Maybe .updatedDiff(oldObj, newObj, [showOldValuesForUpdatedKeys= true|false ] )?

@mattphillips
Copy link
Owner

Hey @yurks I'm not sure I understand what you are asking. Would you be able to give me an example of what you want?

@mattphillips
Copy link
Owner

Closing for now due to inactivity - happy to reopen with more details

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