loopback-component-jsonapi
loopback-component-jsonapi copied to clipboard
fix(utils): add condition to isLoopbackInclude
Added an extra condition to isLoopbackInclude() to ensure it only returns true if the user passes in an include filter. This should fix an issue where requests along the lines of GET /posts?filter[where][id]=123&include=comments are ignoring the include parameter when there is also a filter param.