| 513 | const definedAttributes = _.pick(this._revertAttributes, v => v !== undefined) |
| 514 | const oldResult = tv4.validateMultiple(definedAttributes, this.constructor.schema || {}) |
| 515 | const mapper = error => [error.code.toString(), error.dataPath, error.schemaPath].join(':') |
| 516 | const originalErrors = _.map(oldResult.errors, mapper) |
| 517 | const currentErrors = _.map(errors, mapper) |
| 518 | const newErrors = _.difference(currentErrors, originalErrors) |
nothing calls this directly
no outgoing calls
no test coverage detected