These are chat archives for dry-rb/chat

12th
Dec 2017
Chris Richards
@cmrichards
Dec 12 2017 11:43
@timriley yeah thanks!
Chris Richards
@cmrichards
Dec 12 2017 12:15
custom-validation-blocks seem more comprehensible than high-level-rules to me
i.e. I wouldn't need to to refer back to the dry-validation docs when writing them
Ah... i see you get free error-message-creation with high level rules
Piotr Solnica
@solnic
Dec 12 2017 12:56
@cmrichards in dry-v 1.0 there will only be custom validation blocks
Chris Richards
@cmrichards
Dec 12 2017 12:57
@solnic why?
Piotr Solnica
@solnic
Dec 12 2017 13:11
because they are simpler
Sean Winner
@swinner2
Dec 12 2017 21:23
@timriley that makes sense and I agree. I guess it’s more of a convenience for the other developers. I wanted a generic schema to validate input for trailblazer operations that would whitelist and coerce, specifically ”true” => true. For now we’ll go with just whitelisting. Some people freak out when seeing types in ruby :scream_cat: