Legacy validation namespace maintained for backward compatibility.
This namespace provides the original validation interface while supporting the new structured result format when BND_DEVEX_VALIDATION is enabled.
New code should use:
This namespace will delegate to new implementations when feature flag is enabled.
Legacy validation namespace maintained for backward compatibility. This namespace provides the original validation interface while supporting the new structured result format when BND_DEVEX_VALIDATION is enabled. New code should use: - boundary.core.validation.result - boundary.core.validation.registry - boundary.core.validation.codes This namespace will delegate to new implementations when feature flag is enabled.
(devex-enabled?)Check if DevEx validation features are enabled.
Returns: Boolean indicating if DevEx validation is enabled
Check if DevEx validation features are enabled. Returns: Boolean indicating if DevEx validation is enabled
(error-map field code message)(error-map field code message opts)Create structured error map (delegates to validation.result).
Create structured error map (delegates to validation.result).
(failure-result errors)(failure-result errors warnings)Create failure result (delegates to validation.result).
Create failure result (delegates to validation.result).
(get-validated-data result)Get validated data (works with legacy and new format).
Get validated data (works with legacy and new format).
(get-validation-errors result)Get validation errors (works with legacy and new format).
Get validation errors (works with legacy and new format).
(success-result data)(success-result data warnings)Create success result (delegates to validation.result).
Create success result (delegates to validation.result).
(validate-cli-args schema args transformer)Validate CLI arguments (legacy convenience function).
Validate CLI arguments (legacy convenience function).
(validate-request schema request transformer)Validate API request (legacy convenience function).
Validate API request (legacy convenience function).
(validate-with-transform schema data transformer)Validate data with transformation (legacy interface).
When BND_DEVEX_VALIDATION is enabled, returns enhanced result format. Otherwise maintains legacy format for backward compatibility.
Args: schema: Malli schema data: Data to validate transformer: Malli transformer
Returns: {:valid? boolean :data map :errors ...} (format depends on feature flag)
Validate data with transformation (legacy interface).
When BND_DEVEX_VALIDATION is enabled, returns enhanced result format.
Otherwise maintains legacy format for backward compatibility.
Args:
schema: Malli schema
data: Data to validate
transformer: Malli transformer
Returns:
{:valid? boolean :data map :errors ...} (format depends on feature flag)(validation-passed? result)Check if validation passed (works with legacy and new format).
Args: result: Validation result map
Returns: Boolean indicating if validation passed
Check if validation passed (works with legacy and new format). Args: result: Validation result map Returns: Boolean indicating if validation passed
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |