Store collapser source in the resultset private metadata as well
authorPeter Rabbitson <ribasushi@cpan.org>
Wed, 23 Mar 2016 13:05:10 +0000 (14:05 +0100)
committerPeter Rabbitson <ribasushi@cpan.org>
Wed, 30 Mar 2016 13:30:50 +0000 (15:30 +0200)
commit5bcb167324052d051f5ab7313dac37815e53e02e
tree65821fcc8273ba63232cfff91ba4cdbb23b5016b
parentb3a400a044a5e4a768e26d450e3cce289481ee7a
Store collapser source in the resultset private metadata as well

After 05a5ca4b the deparse of the row-parser coderef is incomprehensible at
best. Add the source to the private cache structure to aid debugging if it
ever becomes necessary (fingercross it won't be). Aside from the explicit
evaluation package name, and the slight change of the return of _mk_row_parser
there are no functional changes

Read under -w
lib/DBIx/Class/ResultSet.pm
lib/DBIx/Class/ResultSource/RowParser.pm
lib/DBIx/Class/ResultSource/RowParser/Util.pm
t/resultset/rowparser_internals.t