Rewrite the collapsing rowparser pigeonholing logic
authorPeter Rabbitson <ribasushi@cpan.org>
Thu, 26 Feb 2015 12:51:49 +0000 (13:51 +0100)
committerPeter Rabbitson <ribasushi@cpan.org>
Wed, 12 Aug 2015 12:30:38 +0000 (14:30 +0200)
commitbeb858a3349b0e1cfa76238a0c2521e80c8b9e3d
tree4cc8d4b726d60258ecfa4bd01f261abc43f9b4b9
parentaa3891daa7d0f700b1f2986b6cbea7bdd4194606
Rewrite the collapsing rowparser pigeonholing logic

Instead of dynamically determining whether to use the data as a key directly,
always compose a list of copied 'row ids' and use that in all operations.

This is mainly done to stop dualvar-ing of numeric variables returned by the
engine, thus confusing JSON and similar serializers down the road
lib/DBIx/Class/ResultSource/RowParser/Util.pm
t/resultset/rowparser_internals.t