redarrowlabs / Argo

:squirrel: c# object => json.api relational mapping
MIT License
7 stars 3 forks source link

Make patches more concise by diffing json objects #94

Closed zeitlerc closed 6 years ago

zeitlerc commented 6 years ago

93 The previous implementation had checked equality for patches only on the 1st level of properties, which resulted in false positives for nested Meta attributes. The updated code will deeply check the JSON structure for equality and remove any equivalent properties from the patch. This should make patches optimally small and no longer send patches for unchanged entities.