Feature #22253

Extend option validators to validate resolved options

Added by Martin Bacovsky 13 days ago. Updated 12 days ago.

Status:New
Priority:Normal
Assigned To:-
Category:Hammer core
Target version:-
Difficulty: Bugzilla link:
Found in release: Pull request:
Story points-
Velocity based estimate-

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

History

#1 Updated by Martin Bacovsky 13 days ago

  • Category set to Hammer core

#3 Updated by Tomáš Strachota 12 days 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.

Also available in: Atom PDF