[Dbix-class] How do I make global attribute for schema?

Alex Povolotsky tarkhil at over.ru
Tue Jun 19 09:12:20 GMT 2018


Hello

Using some web framework, like Mojolicious, I often need to pass, say, 
$app->log into DBIx::Class-related classes.

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?

Alex




More information about the DBIx-Class mailing list