-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CallbackValidator: Cache callback results by default
Since Icinga/ipl-html#97 form elements don't cache the validation results anymore. This isn't a problem for most validators. Though, custom callbacks written before this change were written with the cache in mind. This change allows to control this when creating the validator. It caches by default for historical reasons. (To not break compatibility)
- Loading branch information
Showing
2 changed files
with
49 additions
and
2 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