abstract struct Athena::Validator::ServiceConstraintValidator

Overview

Extension of AVD::ConstraintValidator used to denote a service validator that can be used with Athena Dependency Injection.

Defined in:

constraint_validator.cr

Instance methods inherited from struct Athena::Validator::ConstraintValidator

context : AVD::ExecutionContextInterface context, initialize initialize, raise_invalid_type(value : _, supported_types : String) : NoReturn raise_invalid_type, validate(value : _, constraint : AVD::Constraint) : Nil validate

Constructor methods inherited from struct Athena::Validator::ConstraintValidator

new new

Instance methods inherited from module Athena::Validator::ConstraintValidatorInterface

context : AVD::ExecutionContextInterface context, validate(value : _, constraint : AVD::Constraint) : Nil validate