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 #1

Updated by David Davis about 8 years ago

  • Tracker changed from Bug to Feature
Actions #2

Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli/pull/220 added
Actions #3

Updated by Anonymous about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Tomáš Strachota almost 8 years ago

  • Translation missing: en.field_release set to 235
Actions

Also available in: Atom PDF