pqb 0.48.2 → 0.48.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -7032,7 +7032,9 @@ const resolveSubQueryCallbackV2 = (q, cb) => {
7032
7032
  Object.defineProperty(base, key, {
7033
7033
  get() {
7034
7034
  const rel = relations[key].relationConfig;
7035
- return _chain(this, _clone(rel.query), rel);
7035
+ const relQuery = _clone(rel.query);
7036
+ relQuery.q.withShapes = this.q.withShapes;
7037
+ return _chain(this, relQuery, rel);
7036
7038
  }
7037
7039
  });
7038
7040
  }