Open maocatooo opened 7 months ago
@maocatooo unfortunately there is no automated way to achieve what you're looking for as validator is designed to return only the first failed validation, per field, and changing the package to be able to support that would require it to be completely redesigned from the ground up.
There may be a way to achieve what your looking for using Struct Level
validations, but would require you to run validations individually and them cobble the results together, almost the same as if doing it outside of the package.
Package version:
v10
Issue, Question or Enhancement:
Question What should I do instead?
Code sample, to showcase or reproduce: