chore(datasync): mark SyncMode and SyncModeConfig as obsolete

This commit is contained in:
Joseph Doherty
2026-01-07 01:58:01 -05:00
parent fc5769b219
commit 884d3a093b
2 changed files with 12 additions and 0 deletions
@@ -1,7 +1,11 @@
namespace JdeScoping.DataSync.Configuration;
/// <summary>
/// Configuration for an ETL pipeline.
/// </summary>
public record PipelineConfig(
SourceConfig Source,
[property: Obsolete("Use Schedules property instead. SyncModes will be removed in a future version.")]
Dictionary<string, SyncModeConfig>? SyncModes,
PipelineSchedules? Schedules,
List<TransformerConfig>? Transformers,
@@ -21,6 +25,10 @@ public record ParameterConfig(
string Source = "offset",
string? Value = null);
/// <summary>
/// Sync mode configuration (legacy format).
/// </summary>
[Obsolete("Use ScheduleConfig instead. SyncModeConfig will be removed in a future version.")]
public record SyncModeConfig(
string? MinDtOffset,
bool PrePurge = false,
@@ -1,5 +1,9 @@
namespace JdeScoping.DataSync.Contracts;
/// <summary>
/// Sync mode for ETL pipelines.
/// </summary>
[Obsolete("Use UpdateTypes enum and WithUpdateType() instead. SyncMode will be removed in a future version.")]
public enum SyncMode
{
Mass,