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

Patch cleanup #91

Merged
merged 5 commits into from
Feb 8, 2018
Merged

Patch cleanup #91

merged 5 commits into from
Feb 8, 2018

Conversation

zeitlerc
Copy link
Collaborator

#64 No longer trying and failing to track all changes using Argo for a patch. Instead, compare the cached resource to the state of the passed in model. Trim any equivalent objects. Fixes a bug where changes to complex properties are not recognized. This trades off in-memory performance for over-the-wire performance for patches, since each property must be serialized for the compare. However, the sent patch is more concise (due to work-arounds for complex property updates needing to send massive patches). More work could be done to trim the patch further via JSON diff, but I didn't want to take on that work for this update.

Chris Zeitler added 5 commits January 26, 2018 10:49
Issue remaining with meta queries and issue with HasOne property being fetched on patch
Newtonsoft considers Guid and String not equal even tho they stringify the same way
@zeitlerc zeitlerc requested review from kwal and engenb January 29, 2018 14:45
Copy link
Contributor

@kwal kwal left a comment

Choose a reason for hiding this comment

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

Yay - no proxying =)

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.

2 participants