[Dbix-class] weird result_source_instance problem
Tobias Kremer
list at funkreich.de
Mon May 28 12:52:59 GMT 2007
>> Have there already been discussions about this or am I the first
>> one to
>> encounter these difficulties? IMHO this really is a serious issue
>> because it makes using custom SQL with the result_source_instance
>> trick
>> quite unusable or at least unstable.
>
> Alternatively, a nasty 2-line workaround -
>
> @My::Schema::UserView::ISA = ('My::Schema::User');
> $source->result_class('My::Schema::UserView');
>
> proceed as normal :)
Of course! This simple workaround should keep me happy for now
until a more sophisticated solution is found :) Thanks!
--Tobias
More information about the Dbix-class
mailing list