These are chat archives for dry-rb/chat

21st
Dec 2017
Tim Canty
@timmcanty
Dec 21 2017 17:15
Hi, I'm trying to do something specific with dry-validations, but am having a tough time. I have a field that needs to: 1. be optional 2. be an array, if it is present 3. have an each predicate run on the contents. It seems like chaining maybe(:array?).each(predicate) does not throw errors when the value is not an array.