Feature #22253

Extend option validators to validate resolved options

Added by Martin Bacovsky 3 months ago. Updated 3 months ago.

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


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


#1 Updated by Martin Bacovsky 3 months ago

  • Category set to Hammer core

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