Skip to content

Validation missing out on refname in foreach>actions #212

Closed
@brlala

Description

@brlala

What happened:
Validation passed
What you expected to happen:
Validation Fail
How to reproduce it:
use this yaml for validation

id: Test
version: "1.0"
specVersion: "0.8"
name: Test
description: Test
functions:
  - name: Test
states:
  - name: TestingForEach
    type: foreach
    inputCollection: "${ .archives }"
    iterationParam: archive
    outputCollection: "${ .output}"
    actions:
      - functionRef:
          refName: DoesNotExist
    end:
      terminate: true

Anything else we need to know?:
for type operation, the functionRef will be checked against the list of functions provided at the top of the file however the validation is missing if the type is foreach

Environment:

  • Specification version used: v0.8

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingspec:0.8

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions