Add a QueryBuilder.mergeAllowEager method, which behaves similar to how QueryBuilder.mergeEager does.
Good idea! I'll do that.
Actually, here's a good first contribution if someone wants to create pull request.
Here's some pointers:
mergeEager does. mergeAllowEager is pretty much the same.tests/unit/queryBuilder/QueryBuilder.js line 1165 for allowEager tests.I've been meaning to tackle this one...will try and get to it this weekend...
Added by @newhouse in https://github.com/Vincit/objection.js/commit/f7606bf665da599eae03ecbed3cc4b7d43983953