Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
schema
v0.2.7
Equal
Exclusion
GreaterThan
GreaterThanOrEqual
Inclusion
LessThan
LessThanOrEqual
Presence
RegularExpression
Required
Schema
Constraint
Definition
EmptyIndexForNonScalarArrayParamError
Error
ExplicitKeyForNonScalarParam
InvalidParamIndexError
NestedContentForScalarParamError
ParamIndexOutOfBoundsError
ParamMissingError
ParamTypeCastError
Scalar
Error
Errors
Param
Predicates
Validation
ValidationError
Validator
Size
Time
EpochConverter
ISO8601Converter
LocalConverter
TimeConverter
Tuple
URI
Built with Crystal 1.9.2
2023-10-08 12:59:46 UTC
module
Schema::Validation
Defined in:
schema/validation.cr
Macro Summary
create_validator
(type_validator)
predicates
use
(*validators)
validate
(attribute, **options)
Macro Detail
macro
create_validator
(type_validator)
#
[
View source
]
macro
predicates
#
[
View source
]
macro
use
(*validators)
#
[
View source
]
macro
validate
(attribute, **options)
#
[
View source
]