From 9cde630054c7c68f6bd4e3b8d92a29af796c479d Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Mon, 11 Jan 2021 14:47:46 -0500 Subject: [PATCH] fix(schematype): correct _applySetters signature for 6.0 re: #9588 --- lib/schematype.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/schematype.js b/lib/schematype.js index 9b55b36fdcc..4506dcf8ab4 100644 --- a/lib/schematype.js +++ b/lib/schematype.js @@ -1063,7 +1063,7 @@ SchemaType.prototype.getDefault = function(scope, init) { * @api private */ -SchemaType.prototype._applySetters = function(value, scope) { +SchemaType.prototype._applySetters = function(value, scope, init, priorVal) { let v = value; const setters = this.setters;