bartosz-maciaszek / validation

Validation library for PHP inspired by Joi
MIT License
33 stars 6 forks source link

Validation stops on first failed rule #5

Open bearjaws opened 7 years ago

bearjaws commented 7 years ago

Currently validation stops running on the first error it encounters while running V::Validate(). This can be frustrating as an API user may make multiple mistakes when integrating and will encounter them one by one.

Is there anyway to validate the entire object and get a response back with all errors that are present?

bartosz-maciaszek commented 7 years ago

Totally agree. I even started working on this, but never finished it.

derit commented 4 years ago

@bartosz-maciaszek this issue are done?