@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.
- package/package.json +1 -1
- package/schema/field.js +1 -1
package/package.json
CHANGED
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
|