@snowtop/ent 0.1.0-alpha6 → 0.1.0-alpha7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/schema/field.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snowtop/ent",
3
- "version": "0.1.0-alpha6",
3
+ "version": "0.1.0-alpha7",
4
4
  "description": "snowtop ent framework",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/schema/field.js CHANGED
@@ -616,7 +616,7 @@ class ListField extends BaseField {
616
616
  for (let i = 0; i < val.length; i++) {
617
617
  let formatted = val[i];
618
618
  if (this.field.format) {
619
- formatted = this.field.format(val[i]);
619
+ formatted = this.field.format(val[i], nested);
620
620
  }
621
621
  // postgres supports arrays natively so we
622
622
  // structure it in the expected format