-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a warning/error option to schema validation
Add new schema options to configure the warning/error level of validation functions. This allows the following functions to be used as a warning-level diag instead of a fatal error: "ConflictsWith", "AtLeastOneOf", "ExactlyOneOf", "RequiredWith". The ConditionsMode allows provider developers to toggle between "warning" and "error" level messages. The ConditionsMessage is an optional additional message to be displayed to users at run time.
- Loading branch information
Showing
2 changed files
with
55 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters