From 4ad6cc581a68690bcf86f57e5f3a29213122f888 Mon Sep 17 00:00:00 2001 From: nirmalpatel94 <41700394+nirmalpatel94@users.noreply.github.com> Date: Tue, 29 Dec 2020 15:38:58 -0500 Subject: [PATCH] fix only deltas being sent for a field sync --- entity_diff.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entity_diff.go b/entity_diff.go index ba08dbb..2d59266 100644 --- a/entity_diff.go +++ b/entity_diff.go @@ -204,7 +204,7 @@ func RawEntityDiff(a map[string]interface{}, b map[string]interface{}, nilIsEmpt if aIsMap && bIsMap { subFieldsDelta, subFieldsAreDiff := RawEntityDiff(aVal.(map[string]interface{}), bVal.(map[string]interface{}), nilIsEmptyA, nilIsEmptyB) if subFieldsAreDiff { - delta[key] = subFieldsDelta + delta[key] = bVal isDiff = true } } else {