[Dbix-class] possibility of hashref argument to Relationship::Base::proxy

Eden Cardim edencardim at gmail.com
Sat Aug 29 19:29:35 GMT 2009


On Sat, Aug 29, 2009 at 2:15 PM, Matt Whipple<matt at mattwhipple.com> wrote:
> Is there anyhing to prohibit extending the proxy method in
> Relationship::Base to accept a hashref which allows for the keys to create
> the differently named local accessors to the value stored remote fields?

Why not create a method with a different name in the target class,
then declare a proxy to that?

-- 
   Eden Cardim       Need help with your Catalyst or DBIx::Class project?
  Code Monkey                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://edenc.vox.com/            http://www.shadowcat.co.uk/servers/



More information about the DBIx-Class mailing list