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, 20 May 2015 11:01:52 +0000 (13:01 +0200)
commitc863e1022571bfcc01fcbc4b690fbf3b72a12be8
tree0a942895c5a217c2ba28848fa5018f4bc6a7aae7
parente9d552de92cde6552f35cd45a3572df1e25609cc
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