lib/dry/schema/extensions/hints/message_set_methods.rb in dry-schema-0.4.0 vs lib/dry/schema/extensions/hints/message_set_methods.rb in dry-schema-0.5.0

- old
+ new

@@ -14,10 +14,10 @@ @failures = options.fetch(:failures, true) end # @api public def to_h - failures ? messages_map : messages_map(hints) + @to_h ||= failures ? messages_map : messages_map(hints) end alias_method :to_hash, :to_h end end end