Closed dgouyette closed 6 years ago
Now I remember why it's called 'result' and not 'results'. It does not necessarily give the results of all operations. It give the result of the validation, i.e. the right values or a list of failures. Example : https://github.com/scala-hamsters/hamsters/blob/master/shared/src/test/scala/ValidationSpec.scala#L38
Maybe a better name would have been Validation.run ...
In the same time, failures always give a list of failures, that can be empty
Validation.result vs Validation.failures. Use plural form for both
Edit : use rename Validation.result to Validation.run (see comments)