Why did you guys use Success/Failure rather than specific names like ValidationSuccess?
queirozfcom opened this issue · comments
Felipe Almeida (queirozfcom) commented
You have probably ditched JsSuccess
as it is in Play because this library is not json-specific anymore, but Success
and Failure
conflicts with scala.util.Try
stuff.
I find myself always needing to alias them to ValidationSuccess
and ValidationFailure
so they don't conflict with scala default Try. Am I missing something?
Julien Tournay commented
This problem will be fixed in the soon to be released 2.0 version (see v2.0 branch). Validation now uses cats' Valid
/ Invalid
.