class Dry::Schema::Message::Or::MultiPath

def to_h

Other tags:
    Api: - public
def to_h
  @to_h ||= Path[[*root, :or]].to_h(
    [MessageSet.new(left).to_h, MessageSet.new(right).to_h]
  )
end