[Catalyst] auto-generate ResultSet classes?
Tomas Doran
bobtfish at bobtfish.net
Sat May 30 14:40:15 GMT 2009
On 29 May 2009, at 19:38, Jarom Smith wrote:
>
>
> J. Shirley wrote:
>> Catalyst::Helper::Model::DBIC::Schema doesn't do that, but you
>> could submit a patch :)
>
> I know, I need to contribute as well as take away.
>
> If I were to do this, I think I would probably just extend the
> current auto-generation mechanism that creates stuff in the Result
> directory to create analogous stub files in a ResultSet
> directory... but I need to become more familiar with this stuff
> first and make sure that such a change actually makes sense. At
> this point I'm still getting my bearings.
That would be doable as suggested - you'd patch the
DBIx::Class::Schema::Loader, then the Catalyst model to know about
those options.
Cheers
t0m
More information about the Catalyst
mailing list