Open rabbiveesh opened 3 years ago
I'm really glad you're enjoying the filter! If there's a clean (i.e. non-private) way to test whether a relationship has been prefetched or not, I think it could be a great addition to the filter. The way I see it there should be two new options:
filter_db.list_prefecthed
- true/false, whether to list which relationships are prefetched;
filter_db.expand_prefetched
- to expand them just like class.expand
does: any true number means how many levels deep to go.
What do you think?
I love the DB filter for showing DBIC Rows. One thing that could be added is to show prefetched relations. Right now, it just shows the parent row.
I'll try and find some time to look into if this is difficult or not. But may as well float the idea here to see if it's a bad idea.