z-schema 4.2.2 → 5.0.1

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/README.md CHANGED
@@ -457,11 +457,12 @@ var validator = new ZSchema({
457
457
 
458
458
  ## breakOnFirstError
459
459
 
460
- By default, z-schema stops validation after the first error is found. With this you can tell it to continue validating anyway:
460
+ default: `false`<br />
461
+ When true, will stop validation after the first error is found:
461
462
 
462
463
  ```javascript
463
464
  var validator = new ZSchema({
464
- breakOnFirstError: false
465
+ breakOnFirstError: true
465
466
  });
466
467
  ```
467
468