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
@hlegius there's an experimental feature called 'type specs' (which will be default behavior in 1.0.0) http://dry-rb.org/gems/dry-validation/type-specs/
Thanks, Solnic! But I got a little confused: is the current version automatically coerces right after form validation and the idea is to explicitly enable it with a configuration?
self.class.dry_initializer.attributes(self)from within my initializer. I was thinking of making my own initializer module that would extend Dry::Initializer. Is this someething that is supported, or is there another way?
struct_instance.newshould only run the validations/coercions on the updated attributes/the changeset. I figured that this would be quite a lot of work for what seems to be a microoptimization