GuySartorelli / silverstripe-composable-validators

Reusable validators that can be composed together for use in the Silverstripe framework
BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

FIX Replace new FieldsValidator with SimpleFieldsValidator #2

Closed GuySartorelli closed 1 year ago

GuySartorelli commented 1 year ago

This ensures anyone checking for a FieldsValidator will correctly fetch out the SimpleFieldsValidator which does the same job, and it ensures that there is only one fields validator there, rather than having both the new default FieldsValidator and our SimpleFieldsValidator which would duplicate effort.