Project

General

Profile

Actions

Feature #16811

closed

Allow for multiple validation blocks in option to be defined

Added by David Davis about 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer core
Target version:
Difficulty:
easy
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

I have a module that defines some option validation and it can be called multiple times. In order to do this, I need to be able to set multiple validation blocks. I tried to write something that could be called from within 'validation_options' but the code there is executed within HammerCLI::Validator so I don't think that'll work.

Actions

Also available in: Atom PDF