Add TimesInSameState to MappingModel (#1345)

* Add TimesInSameState to MappingModel

* fix tests
This commit is contained in:
Stef Heyenrath
2025-08-11 08:46:18 +02:00
committed by GitHub
parent a5558777e2
commit faffc56484
11 changed files with 102 additions and 16 deletions

View File

@@ -43,7 +43,7 @@ public class Mapping : IMapping
public string? NextState { get; }
/// <inheritdoc />
public int? StateTimes { get; }
public int? TimesInSameState { get; }
/// <inheritdoc />
public IRequestMatcher RequestMatcher { get; }
@@ -137,7 +137,7 @@ public class Mapping : IMapping
Scenario = scenario;
ExecutionConditionState = executionConditionState;
NextState = nextState;
StateTimes = stateTimes;
TimesInSameState = stateTimes;
Webhooks = webhooks;
UseWebhooksFireAndForget = useWebhooksFireAndForget;
TimeSettings = timeSettings;