lib/dry/schema/processor.rb in dry-schema-1.10.1 vs lib/dry/schema/processor.rb in dry-schema-1.10.2
- old
+ new
@@ -136,14 +136,23 @@
steps.key_map
end
# Return the type schema
#
- # @return [Dry::Types::Safe]
+ # @return [Dry::Types::Lax]
#
# @api private
def type_schema
steps.type_schema
+ end
+
+ # Return type schema used when composing subschemas
+ #
+ # @return [Dry::Types::Schema]
+ #
+ # @api private
+ def strict_type_schema
+ schema_dsl.strict_type_schema
end
# Return the rule applier
#
# @api private