diff --git a/lib/schema/array.js b/lib/schema/array.js index 8323ce4dd8b..a0bd356d4e2 100644 --- a/lib/schema/array.js +++ b/lib/schema/array.js @@ -116,7 +116,7 @@ function SchemaArray(key, cast, options, schemaOptions) { // Leave it up to `cast()` to convert the array return arr; }; - defaultFn.$runBeforeSetters = true; + defaultFn.$runBeforeSetters = !fn; this.default(defaultFn); } }