class Dry::Schema::Message

def <=>(other)

Other tags:
    Api: - private
def <=>(other)
  l_path = _path
  r_path = other._path
  unless l_path.same_root?(r_path)
    raise ArgumentError, "Cannot compare messages from different root paths"
  end
  l_path <=> r_path
end