These are chat archives for dry-rb/chat

27th
Oct 2018
Artemiy Solopov
@art-solopov
Oct 27 2018 20:01
Hello everyone.
Is there any kind of guide to using dry-struct with dry-validation in a, well, DRY way?
As of now, it looks like I'll have to define the attribute names (and possibly types) twice, in the validation schema and in the struct itself...