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

fix: recordHook deep comparison of modified Records #292

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

carlbrugger
Copy link
Contributor

This PR introduces deep comparison of the original record with the presumably modified record to accurately send only patches for updated records.

Fixes: https://github.com/FlatFilers/support-triage/issues/739

@carlbrugger carlbrugger self-assigned this Oct 30, 2023
@carlbrugger carlbrugger changed the title fix: record comparison fix: recordHook deep comparison of modified Records Oct 30, 2023
@socket-security
Copy link

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@flatfile/plugin-record-hook 1.1.7...1.1.8 None +0/-0 55.2 kB flatfileinfra

@carlbrugger carlbrugger enabled auto-merge (squash) October 30, 2023 15:51
@carlbrugger carlbrugger merged commit e6ed034 into main Nov 1, 2023
3 checks passed
@carlbrugger carlbrugger deleted the fix/record-comparison branch November 1, 2023 21:35
Copy link
Contributor

@ashleygmulligan2 ashleygmulligan2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this for showing differences in messages? What problems or haps created this need?

@carlbrugger
Copy link
Contributor Author

@ashleygmulligan2 this covers updates to messages and metadata and anything else I might not have considered. Arseniy discovered that changes to only metadata weren't being set.

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.

3 participants