JeroenDeDauw / ParamProcessor

Declarative parameter processing library
https://entropywins.wtf
Other
20 stars 4 forks source link

Do not rely on ValueValidator::setOptions in the interface #29

Closed thiemowmde closed 7 years ago

thiemowmde commented 7 years ago

This is just an intermediate step towards https://github.com/DataValues/Interfaces/pull/24. This will allow us to remove setOptions from the interface, but all relevant implementations will still have this method. This change allows for a non-breaking release of this ParamProcessor component.

Later this can be refactored further to not rely on these options any more, but to assume all validators are passed in with all relevant options already set. This will be a breaking change.