Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Config::Model::TypeConstraints - Mouse type constraints for Config::Model

Author

       Dominique Dumont

Description

       This module provides type constraints used by Config::Model:

       •   "Config::Model::TypeContraints::Path".  A  "Maybe[Path::Tiny]"  type.  This  type can be coerced from
           "Str" type if "coerce => 1" is used to construct the attribute.

Name

       Config::Model::TypeConstraints - Mouse type constraints for Config::Model

See Also

       Config::Model, Mouse::Util::TypeConstraints

Synopsis

        use Config::Model::TypeConstraints ;

        has 'some_dir' => (
           is => 'ro',
           isa => 'Config::Model::TypeContraints::Path',
           coerce => 1
        );

Version

       version 2.155

See Also