This commit is contained in:
Tommi Reiman 2022-02-14 16:54:58 +02:00
parent 40eb09b2a9
commit acda4a5a91
4 changed files with 5 additions and 4 deletions

View file

@ -1,2 +1,3 @@
{:cljfmt {:indents {for-all [[:inner 0]] {:cljfmt {:indents {for-all [[:inner 0]]
are [[:inner 0]]}}} are [[:inner 0]]}}
:clean {:ns-inner-blocks-indentation :same-line}}

View file

@ -11,7 +11,7 @@
[fipp.visit] [fipp.visit]
[reitit.exception :as exception] [reitit.exception :as exception]
[spell-spec.expound] ;; expound [spell-spec.expound] ;; expound
)) ))
;; ;;
;; colors ;; colors

View file

@ -141,7 +141,7 @@
show? (fn [key] (contains? error-keys key)) show? (fn [key] (contains? error-keys key))
transformers (walk/prewalk #(if (satisfies? TransformationProvider %) (-transformer % opts) %) transformers) transformers (walk/prewalk #(if (satisfies? TransformationProvider %) (-transformer % opts) %) transformers)
compile (if lite (fn [schema options] (compile (binding [l/*options* options] (l/schema schema)) options)) compile (if lite (fn [schema options] (compile (binding [l/*options* options] (l/schema schema)) options))
compile)] compile)]
^{:type ::coercion/coercion} ^{:type ::coercion/coercion}
(reify coercion/Coercion (reify coercion/Coercion
(-get-name [_] :malli) (-get-name [_] :malli)

View file

@ -3,7 +3,7 @@
[clojure.string :as str] [clojure.string :as str]
[meta-merge.core :refer [meta-merge]] [meta-merge.core :refer [meta-merge]]
#?@(:clj [[ring.util.mime-type :as mime-type] #?@(:clj [[ring.util.mime-type :as mime-type]
[ring.util.response :as response]]) [ring.util.response :as response]])
[reitit.core :as r] [reitit.core :as r]
[reitit.exception :as ex] [reitit.exception :as ex]
[reitit.impl :as impl] [reitit.impl :as impl]