Closed
Description
I've overrode AbstractAdapter::newQuery() in one of my model adapters so that I can add a withCount() to the Builder.
This particular model has children relation which are of the same type as itself. When I "include" the children via include paths: /foo/?include=children the children are included fine, however the children do not have the withCount() applied that I am doing in newQuery(). Any input on how to properly get this done?