Closed
Description
I love the idea of this module but it seems like it's impossible to build fast APIs with it.
Let's say I have Books and Authors. I fetch a list of books, even with no "included" specified I get a query for each author, just to display the FK?
As a broader issue, as Author increases in complexity developers will add more included_serializers to that serialiser, which inadvertently affects my Books viewset with a query explosion.
Could we define a lambda for each included_serializer to alter the query? Anything more robust than magic.