Closed Maks3w closed 9 years ago
At this moment this pending of discussion.
TODO remove tests from BaseInputFilter and place it on Input
This looks sane; please rebase and proceed, and let me know when you're ready for final review.
@weierophinney This become broken due the assumption of fallback values for missing data does not add the input to the valid inputs collection.
@weierophinney This undo the change on #22 while merging. Fallback value shouldn't never to be exposed and used for build validation rules.
This change is BC compatible with #10. Both depends of the specific subclass
Input
About #7 there is things for to discuss if this is BC break or not.
Basically the question to discuss it's if
InputInterface::isValid()
should be the responsible to decide all cases where an input is invalid or if we wantBaseInputFilter
to decide that. Note I used hereBaseInputFilter
and notInputFilterInterface
because only that class had so many matches about theInputInterface|Input
state.Revert interpretation of #22 change on merge
Supersede and close #29