Re: [Dbix-class] Schema Components

2016-09-20 Thread Kaitlyn Parkhurst
Have you looked at dbic-schema-config, it should provide a really simple place to insert the env search (docs on overloading in the pod, I believe), or at least a decent example of doing a similar thing. Sent from my iPhone > On Sep 16, 2016, at 9:08 AM, Dave Cross wrote: >

Re: [Dbix-class] Schema Components

2016-09-20 Thread Darius Jokilehto
Hi Dave, Ah, right - I see what you mean. Maybe this is more what you're looking for: https://metacpan.org/pod/DBIx::Class::Helper::Schema::DateTime? Looking at the source it looks like the only special thing it really does is inherit from DBIx::Class::Schema. HTH,Darius On Tuesday, 20

Re: [Dbix-class] Schema Components

2016-09-20 Thread Dave Cross
Hi Darius, Thanks. Yes, I'd seen that documentation. It's a little sparse and seems to be aimed at writing components which are loaded into Result classes (InflateColumn::DateTime, TimeStamp and stuff like that). I suspect (but I could, of course, be wrong) that components which are

Re: [Dbix-class] Schema Components

2016-09-19 Thread Darius Jokilehto
Hello Dave, This might be what you're looking for: https://metacpan.org/pod/distribution/DBIx-Class/lib/DBIx/Class/Manual/Component.pod Darius On Friday, 16 September 2016, 17:09, Dave Cross wrote: In the documentation of DBIx::Class::Schema::Loader::Base there is