These are chat archives for dry-rb/chat

20th
Jul 2017
Gabe Saravia
@MissingHandle
Jul 20 2017 18:02
using dry-validation, I would like to write a high level rule that fails even if it's dependent fields are not present - is this possible? seems like they only run if the other fields exist or perhaps are filled?
Gabe Saravia
@MissingHandle
Jul 20 2017 18:09
for example, if a field is optional unless another field has a particular value, at which point it becomes required, or if i want to assign the combination of missing fields a particular error name