Subject: | Type constraints |
Type::Tiny is a type constraint system along the lines of MooseX::Types. It works for Moo, Mouse and Moose, but is faster and has no non-core dependencies.
I'd like to submit a patch to allow type constraints a la:
has attr => (is => "ro", isa => Str);
to work with Class::Accessor (and ::Fast, and ::Faster). It would result in no extra dependencies nor any discernible slowdown for people not using the feature.
But I don't want to waste my time if it's got no chance of being accepted. Is Class-Accessor still being maintained? (It hasn't seen a release in 3.5 years.) If so, does this sound like a patch that would be accepted?