From 4ba5b64f66d526b3242c132711a305380ec068ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20Ko=C5=BEelj?= Date: Tue, 24 Jan 2023 17:53:49 +0100 Subject: [PATCH] Fix ReturnValueBinder taking existing value from operation instead of entity --- src/Connected.Data/Storage/ReturnValueBinder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Connected.Data/Storage/ReturnValueBinder.cs b/src/Connected.Data/Storage/ReturnValueBinder.cs index 5797a19..78e35e5 100644 --- a/src/Connected.Data/Storage/ReturnValueBinder.cs +++ b/src/Connected.Data/Storage/ReturnValueBinder.cs @@ -77,7 +77,7 @@ namespace Connected.Data.Storage if (property is null) continue; - var existingValue = property.GetValue(operation); + var existingValue = property.GetValue(entity); var overwriteAtt = property.FindAttribute(); if (overwriteAtt is null)