[Dbix-class] latest DBIx::Class "Not inlining a constructor..."

Marco Vittorini Orgeas marco at vittorini.org
Wed Sep 14 11:11:56 GMT 2016


On 09/14/2016 12:48 PM, Bernhard Bauch wrote:

> hey again,
>
> correction:
> there are now errors. when i do
>> http://search.cpan.org/~ribasushi/DBIx-Class-0.08271/lib/DBIx/Class/ResultSet.pm#CUSTOM_ResultSet_CLASSES_THAT_USE_Moose 
>> <http://search.cpan.org/%7Eribasushi/DBIx-Class-0.08271/lib/DBIx/Class/ResultSet.pm#CUSTOM_ResultSet_CLASSES_THAT_USE_Moose>
> for all my resultset-classes
> but i receive lots of warnings (for every ResulSet class i have) when 
> starti my app.. like
>
>> Not inlining a constructor for MyApp::Schema::ResultSet since its 
>> parent MyBaseApp::Schema::ResultSet doesn't contain a constructor 
>> named 'new'. If
>> you are certain you don't need to inline your constructor, specify 
>> inline_constructor => 0 in your call 
>> to MyApp::Schema::ResultSet->meta->make_immutable
>
> anyideas why ?
> bye, bernhard
>
Are you using something like "use MooseX::NonMoose;" in your ResultSet 
classes?
Can you post some code?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20160914/fa4ef182/attachment-0001.htm>


More information about the DBIx-Class mailing list