module Dry::Schema::Extensions::Hints::MessageSetMethods

def initialize(messages, options = EMPTY_HASH)

Other tags:
    Api: - private
def initialize(messages, options = EMPTY_HASH)
  super
  @hints = messages.select(&:hint?)
  @failures = options.fetch(:failures, true)
end

def to_h

Other tags:
    Api: - public
def to_h
  @to_h ||= failures ? messages_map : messages_map(hints)
end