perl-workflow / perl-workflow

Workflow - simple, flexible system to implement workflows/state machines

Home Page:https://jonasbn.github.io/perl-workflow/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conditions are interfaces

ehuelsmann opened this issue · comments

Issue Template

Description

@oliwel suggested - rightfully - that if validations can be codified as interface contracts (instead of full-blown classes), so can conditions. This has the added benefit of being able to make objects completely unrelated to Workflow, behave as validations or conditions.

@ehuelsmann is this something we need for version 2 or can it be post-poned