org.plasmalabs.indexer.services.IndexSpecsValidator.scala Maven / Gradle / Ivy
The newest version!
package org.plasmalabs.indexer.services
object IndexSpecsValidator extends scalapb.validate.Validator[org.plasmalabs.indexer.services.IndexSpecs] {
def validate(input: org.plasmalabs.indexer.services.IndexSpecs): scalapb.validate.Result =
scalapb.validate.Result.repeated(input.indexSpec.iterator) { _value =>
org.plasmalabs.indexer.services.IndexSpecValidator.validate(_value)
}
}