[Catalyst] Accessing $schema in Model glue class (solved?)

Jonathan Rockway jon at jrock.us
Fri Jan 25 14:28:38 GMT 2008


Matt S Trout <dbix-class at trout.me.uk> writes:

> Yes, except using Catalyst::Component::InstancePerContext so it still
> behaves like a normal DBIC::Schema (i.e. you copy and modify ->schema)

Well, the code linked just delegates to the normal C::M::DBIC::Schema.
So any changes to the behavior should go there.  (And yes, relying on
load order *is* flaky.  That's why this isn't on the CPAN :)

Regards,
Jonathan Rockway



More information about the Catalyst mailing list