File tree 3 files changed +36
-6
lines changed
.ci/validation/test/fixtures/invalid
3 files changed +36
-6
lines changed Original file line number Diff line number Diff line change
1
+ document :
2
+ dsl : ' 1.0.0-alpha1'
3
+ namespace : test
4
+ name : listen-to-any
5
+ version : ' 0.1.0'
6
+ do :
7
+ - callDoctor :
8
+ listen :
9
+ to :
10
+ any : []
Original file line number Diff line number Diff line change
1
+ document :
2
+ dsl : ' 1.0.0-alpha1'
3
+ namespace : test
4
+ name : listen-to-any
5
+ version : ' 0.1.0'
6
+ do :
7
+ do :
8
+ - callDoctor :
9
+ listen :
10
+ to :
11
+ any : []
12
+ until :
13
+ any : []
14
+ until : ${ ($context.events | length) == 3 }
Original file line number Diff line number Diff line change @@ -1319,9 +1319,12 @@ $defs:
1319
1319
- type : string
1320
1320
title : AnyEventUntilCondition
1321
1321
description : A runtime expression condition evaluated after consuming an event and which determines whether or not to continue listening.
1322
- - $ref : ' #/$defs/eventConsumptionStrategy'
1323
- title : AnyEventUntilConsumed
1324
- description : The strategy that defines the event(s) to consume to stop listening.
1322
+ - allOf :
1323
+ - $ref : ' #/$defs/eventConsumptionStrategy'
1324
+ title : AnyEventUntilConsumed
1325
+ description : The strategy that defines the event(s) to consume to stop listening.
1326
+ - properties :
1327
+ until : false
1325
1328
required : [ any ]
1326
1329
- properties :
1327
1330
any :
@@ -1336,9 +1339,12 @@ $defs:
1336
1339
- type : string
1337
1340
title : AnyEventUntilCondition
1338
1341
description : A runtime expression condition evaluated after consuming an event and which determines whether or not to continue listening.
1339
- - $ref : ' #/$defs/eventConsumptionStrategy'
1340
- title : AnyEventUntilConsumed
1341
- description : The strategy that defines the event(s) to consume to stop listening.
1342
+ - allOf :
1343
+ - $ref : ' #/$defs/eventConsumptionStrategy'
1344
+ title : AnyEventUntilConsumed
1345
+ description : The strategy that defines the event(s) to consume to stop listening.
1346
+ - properties :
1347
+ until : false
1342
1348
required : [ any, until ]
1343
1349
- title : OneEventConsumptionStrategy
1344
1350
properties :
You can’t perform that action at this time.
0 commit comments