> Well, duh... this effected release version as well as the dev
> versions...from ye olde Changes:
> 
> 
>> -0.07003 2006-XX-XX XX:XX:XX
>> +        - Replaced DBIx::Class::AccessorGroup and Class::Data::Accessor with
>> +          Class::Accessor::Grouped. Only user noticible change is to 
>> +          table_class on ResultSourceProxy::Table (i.e. table objects in 
>> +          schemas) and, resultset_class and result_class in ResultSource. 
>> +          These accessors no longer automatically require the classes when
>> +          set.
> 
> _01 was released before _03...
> So, if you were using 0.07003+, you would have this problem.
> 
> So, my question is, why doesn't setting result_class automatically load
> that class any more?  I thought ensure_class_loaded ot something was
> involved... maybe not...
> 
> -=Chris

Specifically:

> -__PACKAGE__->mk_group_accessors('component_class' => qw/resultset_class
> +__PACKAGE__->mk_group_accessors('inherited' => qw/resultset_class
>    result_class/);

So, I'd say either we should add get/set_component_class to CAG (which
is usefully to other projects), or we need to tweak these
setters/getters to call ensure_class_loaded...

-=Chris

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to