Skip Menu |

This queue is for tickets about the Class-Accessor CPAN distribution.

Report information
The Basics
Id: 84839
Status: open
Priority: 0/
Queue: Class-Accessor

People
Owner: Nobody in particular
Requestors: perl [...] toby.ink
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.34
Fixed in: (no value)



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?
On Wed Apr 24 16:16:11 2013, TOBYINK wrote: Show quoted text
> 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?
Hi, I have justed mailed with Marty and the project is now hosted on Github. https://github.com/maokt/class-accessor-pm I think Marty is up for active maintenance. I am trying to assist the best way possible. So please create a PR or raise the issue on Github, if you are still interested in contributing. Take care, jonasbn