lib/dry/schema/primitive_inferrer.rb in dry-schema-1.3.2 vs lib/dry/schema/primitive_inferrer.rb in dry-schema-1.3.3
- old
+ new
@@ -30,9 +30,10 @@
# @api private
def visit_hash(_)
Hash
end
+ alias_method :visit_schema, :visit_hash
# @api private
def visit_array(_)
Array
end