-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds Partial Output To ValidationContext
Adds the value that will be returned by `validate` to the ValidationContext, so inline validators can base their output and validity on previously processed properties. Adds `is.asyncFunc` and `is.promise` to the TypeScript definitions. Updates documentation for the ValidationContext, and to all TypeScript interfaces. Reduces verbosity when returning IValueOrError, so consumers don't have to set a bunch of null properties. Blueprint guarantees them for us, so no reason to set them explicitly.
- Loading branch information
Showing
9 changed files
with
157 additions
and
33 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.