[DBIx-Class-Devel] Re: [dbix-class] Add support for load_namespaces(lazy_load => 1, ...) (#32)

Jan Henning Thorsen notifications at github.com
Wed Sep 4 16:19:34 GMT 2013


Not really sure how to fix that, since it's a warning from https://metacpan.org/source/ILMARI/Catalyst-Model-DBIC-Schema-0.61/lib/Catalyst/Model/DBIC/Schema.pm#L536

As a temp hack, you could probably monkey patch the _install_rs_models() method.

But getting $c->model('DB::myresult') to work will probably be harder, since it relies on the source info to be loaded. Just do $c->model('DB')->resultset('myresult') instead or make a new helper method (or whatever it's called in Catalyst)

---
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/dbix-class/pull/32#issuecomment-23802846
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20130904/c283239a/attachment.htm


More information about the DBIx-Class-Devel mailing list