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.
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.