Skip to content

Action Inputs: Check if input satisfies the input type #104

Description

@7tupel

As Developer I would like that the input of Actions is checked using the specified type.

Rationale
The Action definition requires to specify a type of the input. As of now, this information is not used when the Action is executed by a runner. It would be of great benefit to automatically check the type spec is satisfied for the input and stop the execution of the Action if not.

Technical Details
A runner should implement a check by running a validation function on all inputs before executing the Actions function.

Acceptance Criteria

  • The runner runs a test for all Action inputs before executing the Action
  • An Action is executed when the input checks are all valid
  • An Actions fails and is not executed when any of the input checks fails
  • Several unit tests exists to test this

Related Issues

Stakeholder

  • Developer

Metadata

Metadata

Assignees

No one assigned

    Labels

    storyA new functionality the library provides

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions