Actions
User story #8228
closedAdd constraints to ncf parameters
Effort required:
Name check:
Fix check:
Regression:
Description
Currently in ncf, all parameters are string that should not be empty with no trailling/leading whitespace and are trimmed.
This prevent some usecases. like #8151
We will add a field as metadata in our generic methods like this:
@parameter_constraint <param_name> constraint_1 : value_1, constraint_2 : value_2
constraint will be defined as a simili json, so we can defined several at the same time.
Some constraint we want to define:
allow_empty_string
allow_whitespace_string
list of values
matching regexp
non matching regexp
minimal size
maximal size
This issue will have a pull request on the python API
Actions