These are chat archives for dry-rb/chat

17th
Feb 2016
Krzysztof Wawer
@wafcio
Feb 17 2016 11:00
How does errors structure looks (general) in dry-validation. I wrote one validator with name field and received this error: {:name=>[["str"], nil]} I checked dry-validation repository and there is not information (at least in README) how it will look with more validations.
Piotr Solnica
@solnic
Feb 17 2016 11:18
@wafcio you’ll have more elements in the msgs array
and it changed in 0.7.0, input is no longer in the messages hash, ie { name: [‘msg one’, ‘msg two’] }
Krzysztof Wawer
@wafcio
Feb 17 2016 11:54
it will be good to have info about available validations in README, found it in wiki, but I think it will be good to give info about validation list in README
Krzysztof Wawer
@wafcio
Feb 17 2016 12:43
can I check data type of value with dry-validation ?