Specifying default values for keys

Greetings and salutations!

Is it possible to specify default values for optional or required keys in a ::Dry::Validation.Schema?

Not yet, this will be supported in dry-validation 1.0.0 but I’m not yet sure how exactly it’ll work.

1 Like