Skip to content

Commit 324cf36

Browse files
committed
Test fix
1 parent c746d09 commit 324cf36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Cli/ConfigGenerator.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1703,6 +1703,7 @@ public static bool TryUpdateExistingEntity(UpdateOptions options, RuntimeConfig
17031703
fields = mergedFields;
17041704

17051705
// Remove legacy props if fields present
1706+
updatedSource = updatedSource with { KeyFields = null };
17061707
updatedMappings = null;
17071708
}
17081709
else if (hasMappings || hasKeyFields)
@@ -1751,6 +1752,7 @@ public static bool TryUpdateExistingEntity(UpdateOptions options, RuntimeConfig
17511752
}
17521753

17531754
// Remove legacy props
1755+
updatedSource = updatedSource with { KeyFields = null };
17541756
updatedMappings = null;
17551757
}
17561758
else

0 commit comments

Comments
 (0)