lib/dry/schema/extensions/hints/result_methods.rb in dry-schema-0.3.0 vs lib/dry/schema/extensions/hints/result_methods.rb in dry-schema-0.4.0

- old
+ new

@@ -7,32 +7,32 @@ module ResultMethods # @see Result#errors # # @api public def errors(options = EMPTY_HASH) - message_set(options.merge(hints: false)).dump + message_set(options.merge(hints: false)) end # Get all messages including hints # # @see #message_set # # @return [Hash<Symbol=>Array>] # # @api public def messages(options = EMPTY_HASH) - message_set(options).dump + message_set(options) end # Get hints exclusively without errors # # @see #message_set # # @return [Hash<Symbol=>Array>] # # @api public def hints(options = EMPTY_HASH) - message_set(options.merge(failures: false)).dump + message_set(options.merge(failures: false)) end end end end end