Trait async_graphql::CustomValidator
source · pub trait CustomValidator<T: InputType> {
// Required method
fn check(&self, value: &T) -> Result<(), InputValueError<T>>;
}
Expand description
Represents a custom input value validator.