Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Explode validator: allow any value type to be validated #3527
Currently, the explode validator only allows string and array types to be tested. This PR relaxes the type checking to allow any type to be passed to isValid(), and defer/proxy the validity check to the bound validator(s). This allows the Explode validator to be more flexible and handle additional use-cases.
Also added support for iterating Traversables (not just arrays).