Skip to content

Recursivity error when defining loops with switch-then #708

@fjtirado

Description

@fjtirado

Workflow likes this causes stack overflow when building definition

document:
  dsl: 1.0.0-alpha5
  namespace: test
  name:  switch-loop
  version: 0.1.0
do:
  - inc:
     set:
        count: .count+1
     then: looping
  - looping:
       switch:
         - loopCount:
             when: .count < 6
             then: inc
         - default:
             then: exit

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions