quivr.models.DigestValidator.scala Maven / Gradle / Ivy
The newest version!
package quivr.models
object DigestValidator extends scalapb.validate.Validator[quivr.models.Digest] {
def validate(input: quivr.models.Digest): scalapb.validate.Result =
scalapb.validate.Result.run(io.envoyproxy.pgv.BytesValidation.length("Digest.value", input.value, 32))
}