Method: Dry::Schema::DSL#type_schema
- Defined in:
- lib/dry/schema/dsl.rb
#type_schema ⇒ Dry::Types::Safe
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return type schema used by the value coercer
214 215 216 |
# File 'lib/dry/schema/dsl.rb', line 214 def type_schema type_registry["hash"].schema(types.merge(parent_types)).safe end |