Hi! On Tue, Jun 19, 2018 at 12:12:20PM +0300, Alex Povolotsky wrote: > Using some web framework, like Mojolicious, I often need to pass, say, > $app->log into DBIx::Class-related classes.
Don't do that, use Log::Any! > What is the recommended way to add extra attribute for schema? > DBIx::Class::Schema by itself does not use Moose, is it safe to add Moose to > my Schema class? But in case you want to still merry Moose with DBIx::Class: https://stackoverflow.com/questions/22483145/how-to-setup-a-dbixclass-schema-with-moose-the-definite-guide I usually tell DBIx::Class::Schema::Loader to use_moose=>1 (I think I did the first implementation of that feature in 2010...) Greetings, domm -- #!/usr/bin/perl http://domm.plix.at for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/} _______________________________________________ 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