class Dry::Schema::MessageCompiler

def with(new_options)

Other tags:
    Api: - private
def with(new_options)
  return self if new_options.empty?
  updated_opts = options.merge(new_options)
  return self if updated_opts.eql?(options)
  self.class.new(messages, **updated_opts)
end