[Dbix-class] Re: Reusing defined columns (inheritance?)

Dmitry Latin dim0xff at gmail.com
Mon Dec 30 19:57:34 GMT 2013


> This is not a deeply researched answer, but have you tried
> MooseX::Types::DBIx::Class? You could put Your divide your base columns
> and additional attributes between class and role.
> 
> Just an idea I did not try it.
> 
It is not what I need.
Actually MooseX::Types::* is just a checker, that defined accessor has type 
you want (eg. you have some attribute in your class, and expect that it should 
be positivee integer, so some "MooseX::Types::PosInt" already has that checks 
and you just use it).

-- 
//wbr, Dmitry Latin



More information about the DBIx-Class mailing list