Fix ReturnValueBinder taking existing value from operation instead of entity
This commit is contained in:
		
							parent
							
								
									1195fa1b7e
								
							
						
					
					
						commit
						4ba5b64f66
					
				@ -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<ReturnValueAttribute>();
 | 
			
		||||
 | 
			
		||||
				if (overwriteAtt is null)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user