Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ammsalme committed Nov 5, 2024
1 parent 67cc2a5 commit c976b72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ validationOption `noFailValidation: false` (default) throws an error when the re
validationOption `noFailValidation: true` saves errors in validationErrors instead of throwing an error when the record fails validation checks
```js
// return validationErrors
record.getValidationErrors();
```
Expand All @@ -69,7 +70,7 @@ MarcRecord.setValidationOptions(
noControlCharacters: false, // Do not allow ASCII control characters in field/subfield values
noAdditionalProperties: false, // Do not allow additional properties in fields
strict: false // If true, set all validationOptions to true
strict: false, // If true, set all validationOptions to true
noFailValidation: false // If true, do not error if validation fails, save errors in validationErrors instead
}
);
Expand Down

0 comments on commit c976b72

Please sign in to comment.