frioux / DBIx-Class-Helpers

https://metacpan.org/pod/DBIx::Class::Helpers
20 stars 38 forks source link

AutoRemoveColumns doesn't work with prefetch #89

Open mzealey opened 6 years ago

mzealey commented 6 years ago

If I have a relationship and set remove_column => 1 and then access via a join it correctly strips the column, however if I use prefetch it does not remove the column.

frioux commented 6 years ago

FWIW prefetch is sugar for join and select, so this is actually a duplicate of #90; I'll leave both open for clarity at the moment, but fixing one will fix the other.