The filters have built-in validation, and return types defined within the built-in validation methods to ensure that the data type is returned is functional.
This PR allows for:
1) Disabling the internal validation
2) Use of a Call-back to use custom validation rules, either in conjunction with internal rules, or replacing them
Disabling Validation
To disable default validation on a Filter, you may call:
You can also use a custom validation method, in which case you may use the "validation()" method on the Filter to define a custom validation callback.
You may choose to either supplement, or override the default validation methods.
To override the internal validation, Disable Validation on the filter.
To supplement the internal validation, Enable Validation (enabled by default). Note that the internal validation will run first.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
TESTS TO FOLLOW SHORTLY
The filters have built-in validation, and return types defined within the built-in validation methods to ensure that the data type is returned is functional.
This PR allows for: 1) Disabling the internal validation 2) Use of a Call-back to use custom validation rules, either in conjunction with internal rules, or replacing them
Disabling Validation
To disable default validation on a Filter, you may call:
Custom Validation Callback
You can also use a custom validation method, in which case you may use the "validation()" method on the Filter to define a custom validation callback.
You may choose to either supplement, or override the default validation methods. To override the internal validation, Disable Validation on the filter. To supplement the internal validation, Enable Validation (enabled by default). Note that the internal validation will run first.
All Submissions:
New Feature Submissions:
Changes to Core Features: