These are chat archives for dry-rb/chat
Next-gen ruby libs! » github.com/dry-rb » website: https://dry-rb.org » forum: https://discourse.dry-rb.org
@solnic @flash-gordon could you take a look ?
required(:foo).filled(included_in?: ['a', 'b'])on nil sets 2 errors on :foo. Or am I "doing it wrong" wanting to only get the "not filled" error?
hintsmethods on result object. This will do what you want
optional(:name).filled(format?: /^[A-Za-z]+$/)be the way to validate that?