[Dbix-class] Re: Reusing defined columns (inheritance?)
J. Braun
joerg at braun-senden.de
Fri Dec 27 13:47:04 GMT 2013
Am 27.12.2013 12:19, schrieb Dmitry Latin:
> So, I added copying columns into inherited object and it works as I expected.
> https://github.com/dim0xff/dbic_inheritance/commit/4ff09513a4e70c3e04226c66ed3a2eabe161ad3b
>
>
> Now another question: is it good solution, or it could be better? Are there
> any disadvantages?
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.
Joerg
More information about the DBIx-Class
mailing list