[DBIx-Class-Devel] [Perl5/DBIx-Class] Use deep merge for column info when adding columns (#128)

Robert Rothenberg notifications at github.com
Tue Jul 31 10:27:22 GMT 2018


@ribasushi Good point about users overwriting "extra" vs merging.

How about, it keeps the current behaviour, but if the column info has a "+extra" field, then it merges that instead of overwriting it?



FYI, the use case is for [DBIC::Helper::Row::Enumeration](https://metacpan.org/release/DBIx-Class-Helper-Row-Enumeration), so that devs can override default handlers. I thought adding configuration in "extra" made sense.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/Perl5/DBIx-Class/pull/128#issuecomment-409173159
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20180731/b7ee5c2e/attachment-0001.htm>


More information about the DBIx-Class-Devel mailing list