lib/dry/schema/macros/dsl.rb in dry-schema-1.1.0 vs lib/dry/schema/macros/dsl.rb in dry-schema-1.2.0
- old
+ new
@@ -66,10 +66,9 @@
# @return [Macros::Core]
#
# @api public
def filled(*args, **opts, &block)
append_macro(Macros::Filled) do |macro|
- filter(:filled?) if opts[:type_spec] && macro.filter?
macro.call(*args, **opts, &block)
end
end
# Specify a nested hash without enforced `hash?` type-check