Module: Pathway::Plugins::DryValidation::V0_12
- Defined in:
- lib/pathway/plugins/dry_validation/v0_12.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.apply(operation, auto_wire_options: (auto_wire_options_was_not_used=true; false), auto_wire: auto_wire_options) ⇒ Object
82 83 84 85 86 87 88 89 90 91 |
# File 'lib/pathway/plugins/dry_validation/v0_12.rb', line 82 def self.apply(operation, auto_wire_options: (=true; false), auto_wire: ) #:nocov: unless warn "[DEPRECATION] `auto_wire_options` is deprecated. Please use `auto_wire` instead" end #:nocov: operation.auto_wire = auto_wire operation.form_class = Dry::Validation::Schema::Params end |