Closed koterpillar closed 1 year ago
Thanks. I'll think about how to better message this. What the statement about processors is trying to convey is that if you write your own Validator
s, you are free to use Processor
s; or not, but if you do it usually makes sense after you've established the type.
One of the ideas of Koda Validate is that the built-in validators largely adhere to the same form, but they don't always -- not arbitrarily, but because it doesn't always make sense. So unfortunately, it's not possible at present to say how all built-in Validator
s behave universally. I understand why that might not be intuitive, so I need to figure out how to cover it better.
Processors documentation says:
However, Coercion documentation doesn't tell me when is coercion performed - before the type validation inherent to a particular validator, after or instead of it.
As someone new to Koda, I'd like to have: