mirror of
https://github.com/metosin/reitit.git
synced 2025-12-16 16:01:11 +00:00
format
This commit is contained in:
parent
45fbe5eaa2
commit
2aba5610c7
5 changed files with 8 additions and 8 deletions
|
|
@ -11,7 +11,7 @@
|
|||
[fipp.visit]
|
||||
[reitit.exception :as exception]
|
||||
[spell-spec.expound] ;; expound
|
||||
))
|
||||
))
|
||||
|
||||
;;
|
||||
;; colors
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
[clojure.set :as set]
|
||||
[clojure.walk :as walk]
|
||||
[malli.core :as m]
|
||||
[malli.experimental.lite :as l]
|
||||
[malli.edn :as edn]
|
||||
[malli.error :as me]
|
||||
[malli.experimental.lite :as l]
|
||||
[malli.swagger :as swagger]
|
||||
[malli.transform :as mt]
|
||||
[malli.util :as mu]
|
||||
|
|
@ -141,7 +141,7 @@
|
|||
show? (fn [key] (contains? error-keys key))
|
||||
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)]
|
||||
compile)]
|
||||
^{:type ::coercion/coercion}
|
||||
(reify coercion/Coercion
|
||||
(-get-name [_] :malli)
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
[clojure.string :as str]
|
||||
[meta-merge.core :refer [meta-merge]]
|
||||
#?@(:clj [[ring.util.mime-type :as mime-type]
|
||||
[ring.util.response :as response]])
|
||||
[ring.util.response :as response]])
|
||||
[reitit.core :as r]
|
||||
[reitit.exception :as ex]
|
||||
[reitit.impl :as impl]
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
(ns reitit.coercion-test
|
||||
(:require
|
||||
[clojure.test :refer [deftest is testing]]
|
||||
[malli.experimental.lite :as l]
|
||||
[reitit.coercion :as coercion]
|
||||
[reitit.coercion.malli]
|
||||
[reitit.coercion.schema]
|
||||
[reitit.coercion.spec]
|
||||
[reitit.core :as r]
|
||||
[schema.core :as s]
|
||||
[spec-tools.data-spec :as ds]
|
||||
[malli.experimental.lite :as l])
|
||||
[spec-tools.data-spec :as ds])
|
||||
#?(:clj
|
||||
(:import
|
||||
(clojure.lang ExceptionInfo))))
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
(ns reitit.ring-coercion-test
|
||||
(:require
|
||||
[clojure.test :refer [deftest is testing]]
|
||||
[malli.experimental.lite :as l]
|
||||
#?@(:clj [[muuntaja.middleware]
|
||||
[jsonista.core :as j]])
|
||||
[reitit.coercion.malli :as malli]
|
||||
|
|
@ -10,8 +11,7 @@
|
|||
[reitit.ring :as ring]
|
||||
[reitit.ring.coercion :as rrc]
|
||||
[schema.core :as s]
|
||||
[spec-tools.data-spec :as ds]
|
||||
[malli.experimental.lite :as l])
|
||||
[spec-tools.data-spec :as ds])
|
||||
#?(:clj
|
||||
(:import
|
||||
(clojure.lang ExceptionInfo)
|
||||
|
|
|
|||
Loading…
Reference in a new issue