Module: Pathway::Plugins::DryValidation::V0_11
- Defined in:
- lib/pathway/plugins/dry_validation/v0_11.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
83 84 85 86 87 88 89 90 91 92 |
# File 'lib/pathway/plugins/dry_validation/v0_11.rb', line 83 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::Form end |