timriley on master
Bump dry-system to 0.19.0 (compare)
timriley on v0.19.0
Bump dry-system to 0.19.0 (compare)
dry-bot on master
[devtools] sync (compare)
timriley on master
Update changelog (compare)
dry-bot on master
[devtools] sync (compare)
timriley on master
Update changelog (compare)
dry-bot on master
[devtools] sync (compare)
timriley on master
Fix changelog (compare)
dry-bot on master
[devtools] sync (compare)
timriley on master
Add changelog entry for 0.19.0 … (compare)
timriley on add-0-19-0-changelog
key(:foo).optional do ... end
class UserSchema < Dry::Validation::Schema
key(:age) do |age|
age.filled? & age.int? & age.gt?(18) & age.lt?(100)
end
end
/dry-validation-185ec9d6959d/lib/dry/validation/rule_compiler.rb:48:in `visit_and': undefined method `&' for #<Dry::Validation::Rule::Conjunction:0x007fc95b01ef10> (NoMethodError)
Schema::Form
rule
interface but I haven’t added shared specs for that, so we have some holes like you found :)
&
and |
in composite
Rule
so it has these interfaces