configuration sampler of malli coercion

This commit is contained in:
Tommi Reiman 2019-12-28 02:40:10 +02:00
parent 3b53efc439
commit d00c327f5c

View file

@ -69,7 +69,8 @@
;;:validate spec/validate ;; enable spec validation for route data ;;:validate spec/validate ;; enable spec validation for route data
;;:reitit.spec/wrap spell/closed ;; strict top-level validation ;;:reitit.spec/wrap spell/closed ;; strict top-level validation
:exception pretty/exception :exception pretty/exception
:data {:coercion reitit.coercion.malli/coercion :data {:coercion (reitit.coercion.malli/create
{:error-keys #{:type :coercion :in :humanized #_:schema #_:value #_:transformed #_:errors}})
:muuntaja m/instance :muuntaja m/instance
:middleware [;; swagger feature :middleware [;; swagger feature
swagger/swagger-feature swagger/swagger-feature