Actions
Feature #22253
closedExtend option validators to validate resolved options
Difficulty:
Triaged:
No
Pull request:
Team Backlog:
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
Updated by Martin Bacovsky about 7 years ago
Mentioned in https://github.com/theforeman/hammer-cli-foreman/pull/346#discussion_r160200163 by tstrachota
Updated by Tomáš Strachota about 7 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.
Updated by Tomáš Strachota about 6 years ago
- Status changed from New to Assigned
- Assignee set to Tomáš Strachota
Updated by The Foreman Bot about 6 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli/pull/242 added
Updated by The Foreman Bot about 6 years ago
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/402 added
Updated by Anonymous about 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 23707d1f5b2d98448aaea8006bbee72d5b9ccc89.
Actions