(run-validation endpoint args ctx validators)Run built-in and custom validation for an endpoint.
Returns a seq of {:message ...} error maps, or nil if everything passes.
Built-in arg rules run first, then the custom :validator declared on the
endpoint (looked up in validators).
validators is the caller-owned registry map ("key" → impl); pass an
empty map when no custom validators are configured.
Run built-in and custom validation for an endpoint.
Returns a seq of {:message ...} error maps, or nil if everything passes.
Built-in arg rules run first, then the custom :validator declared on the
endpoint (looked up in `validators`).
`validators` is the caller-owned registry map ("key" → impl); pass an
empty map when no custom validators are configured.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 |