Simple validation framework using function references to execute validation process. Executed using [[validate]] function which throws a [[ValidationError]] or passing with no result. The process executes all validation, even when first fails, allowing to extract all results from provided [[ValidationError]], through [[ValidationError.errors]]. Example: void someValidation(String param) { throw Exception("INVALID ``param``"); } validate { validations = ...

Artifacts using Validx (0)
Sort by:Popular▼

  • Prev
  • 1
  • Next