org.plasmalabs.indexer.services.IndexDefValidator.scala Maven / Gradle / Ivy
The newest version!
package org.plasmalabs.indexer.services
object IndexDefValidator extends scalapb.validate.Validator[org.plasmalabs.indexer.services.IndexDef] {
def validate(input: org.plasmalabs.indexer.services.IndexDef): scalapb.validate.Result =
scalapb.validate.Result.optional(input.xdev.onChain) { _value =>
org.plasmalabs.indexer.services.CreateOnChainTransactionIndexRequestValidator.validate(_value)
}
}