You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have a lot of errors when validating an array with a lot of documents, the function ValidatorResult.prototype.importErrors in helpers.js crashes when doing : Array.prototype.push.apply(this.errors, res.errors) because apply will push as many parameters as the number of elements in the res.errors array, on the stack, hence the exception.
This line can be replaced with : this.errors = this.errors.concat(res.errors)
The text was updated successfully, but these errors were encountered:
If I have a lot of errors when validating an array with a lot of documents, the function ValidatorResult.prototype.importErrors in helpers.js crashes when doing : Array.prototype.push.apply(this.errors, res.errors) because apply will push as many parameters as the number of elements in the res.errors array, on the stack, hence the exception.
This line can be replaced with : this.errors = this.errors.concat(res.errors)
The text was updated successfully, but these errors were encountered: