@coderich/autograph 0.13.43 → 0.13.44

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@coderich/autograph",
3
3
  "main": "index.js",
4
- "version": "0.13.43",
4
+ "version": "0.13.44",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -238,7 +238,7 @@ module.exports = class Resolver {
238
238
  model = this.#schema.models[model];
239
239
 
240
240
  return Object.defineProperties(Util.map(result, (doc) => {
241
- const $doc = model.transformers.doc.transform(doc);
241
+ const $doc = model.transformers.doc.transform(doc, { resolver: this, context: this.#context });
242
242
 
243
243
  // Assign useful/needed meta data
244
244
  return Object.defineProperties($doc, {