by didibus · 6y ago · 0 comments
Conformers are meant to parse the data when there are multiple possibility of what something can validate against, the conformer will disambiguate and return a result that tells you which path was chosen.
Coercion is not supported as part of Spec, you're expected to do that seperatly either before or after validating/conforming.
Not all of the above problems are due to coercion, but the majority are.
To be clear: I'm not complaining here, I find spec to be very useful and I like it, just pointing out traps for the unwary.