Module: Dry::Mutations::DSL::Schema
- Defined in:
- lib/dry/mutations/dsl/schema.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#schema ⇒ Object
9 10 11 12 13 14 |
# File 'lib/dry/mutations/dsl/schema.rb', line 9 def schema @schema ||= derived_schema return @schema unless block_given? @schema = Validation.Schema(@schema, **@schema., &Proc.new) end |