Skip to content

Commit

Permalink
Merge pull request #62 from Fernly-Park/master
Browse files Browse the repository at this point in the history
Add Parameters to the parallel state
  • Loading branch information
ChristopheBougere authored Dec 8, 2020
2 parents 5429d5a + e42ae75 commit c525d37
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/__tests__/definitions/valid-parallel-parameters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"StartAt": "Parallel State",
"States": {
"Parallel State": {
"Type": "Parallel",
"Branches": [
{
"StartAt": "Pass",
"States": {
"Pass": {
"Type": "Pass",
"End": true
}
}
}
],
"Parameters": {
"stateName.$": "$$.State.Name"
},
"End": true
}
}
}
3 changes: 3 additions & 0 deletions src/schemas/parallel.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"type": "string",
"pattern": "^Parallel$"
},
"Parameters": {
"type": "object"
},
"Next": {
"type": "string"
},
Expand Down

0 comments on commit c525d37

Please sign in to comment.