one
System and method of input validation
Last updated:
Abstract:
A computer-implemented method of validating an input object with a validation framework is described. A configuration module may load a validation configuration file from an external storage system. A domain module may receive the input object from an external input source. An executor module may collect property metadata of the input object and construct a searchable key based on the property metadata. The executor may retrieve a validator name associated with the searchable key from the validation configuration file and retrieve a validator associated with the validator name, wherein the validator initiates a validation process on the input object. The executor may receive a validation result from the validator and output the validation result and the error list.
Utility
19 Sep 2019
10 Aug 2021