Alters the behaviour of ArrayInput so that non-array input is deemed a validation failure instead of an exceptional condition.
Fixes #104
This could be considered a BC break, but it would never have previously been possible for a non-array value to be validated/filtered here, so it's more likely that no-one ever used this input type without wrapping its execution in a try/catch block.
Assuming users are using this input type, and they are wrapping with try, then the introduction of the IsArray validator will still provide graceful validation failure.
Description
Alters the behaviour of
ArrayInput
so that non-array input is deemed a validation failure instead of an exceptional condition.Fixes #104
This could be considered a BC break, but it would never have previously been possible for a non-array value to be validated/filtered here, so it's more likely that no-one ever used this input type without wrapping its execution in a try/catch block.
Assuming users are using this input type, and they are wrapping with try, then the introduction of the IsArray validator will still provide graceful validation failure.