Project

General

Profile

Actions

Feature #22253

closed

Extend option validators to validate resolved options

Added by Martin Bacovsky over 6 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer core
Target version:
-
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Implementation idea would be:
- validation object instead of block
- possibility to use it during option collecting in selected order
- get partially collected options as an input

Actions #1

Updated by Martin Bacovsky over 6 years ago

  • Category set to Hammer core
Actions #3

Updated by Tomáš Strachota over 6 years ago

I'll add a few comments:
  • Validation objects should be kept in the same array as option sources to enable mixing them and validating some options before a certain option source is executed.
  • The current 'validate_options' block should be silently translated to a validation object to keep backward compatibility while being consistent in how we do validations.
Actions #4

Updated by Tomáš Strachota over 5 years ago

  • Status changed from New to Assigned
  • Assignee set to Tomáš Strachota
Actions #5

Updated by The Foreman Bot over 5 years ago

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

Updated by The Foreman Bot over 5 years ago

  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/402 added
Actions #7

Updated by Anonymous over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF