On 2013-12-27 14:47, J. Braun wrote: > 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 You don't need that module to use roles, regardless if it's a Moose::Role, Role::Tiny, ...
Our model has several Result- and ResultSetRoles that add columns and/or methods. Never forget that it's all just Perl! *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"* T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien Handelsgericht Wien, FN 79340b *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"* Notice: This e-mail contains information that is confidential and may be privileged. If you are not the intended recipient, please notify the sender and then delete this e-mail immediately. *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"* _______________________________________________ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk