Add input validation

Input validation uses Malli coercion. Sadly enough, email is validated
with a regexp.
This commit is contained in:
2026-01-31 00:15:01 +01:00
parent b9ae9a8b56
commit da6f8b4519
3 changed files with 32 additions and 5 deletions

View File

@@ -27,3 +27,5 @@ The following links proved more than useful when working on this assignment:
* <https://practical.li/clojure-web-services/building-api/>
* <https://github.com/metosin/reitit/blob/master/doc/ring/content_negotiation.md>
* <https://ostash.dev/posts/2021-08-22-data-validation-in-clojure/>
* <https://clojurecivitas.github.io/malli/elements_of_malli.html>