Feature #22253
closed
Extend option validators to validate resolved options
Added by Martin Bacovsky about 7 years ago.
Updated almost 6 years ago.
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
- Category set to Hammer core
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.
- Status changed from New to Assigned
- Assignee set to Tomáš Strachota
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli/pull/242 added
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/402 added
- Status changed from Ready For Testing to Closed
Also available in: Atom
PDF