Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…f6d1f) I had the right hunch during 03f6d1f but could not substantiate it: the issue is that the custom coderef expects objects or nothing. Yet here and there internals pass around bare hashes of data (or sometimes even undef). Asking users to complicate their coderefs further is just not an option - it is mindbending enough as it is. So the only way to go forward is indeed to create "synthetic result objects" and pass them down the stack. This time however there is a twist - after the overhaul in 4006691 we now *can* indeed construct such objects on top of the bare DBIx::Class::Core - in other words mission fucking accomplished. This commit *may* need to be reverted in case it turns out that 4006691 is a no-go (check the test change to t/inflate/datetime_oracle.t in 12b348d for an example of what was taken for granted wrt direct $class-> calls) If this is the case - not all is lost. We should be able to use a hidden class with an actual source instance that we would ammend on the fly... But let's hope we will never get to this bridge :(
- Loading branch information