progress on pay button.
This commit is contained in:
@@ -259,12 +259,15 @@
|
||||
(mt2/transformer {:decoders {:vector {:compile (fn [schema _]
|
||||
(when (:coerce? (m/properties schema))
|
||||
(fn [data]
|
||||
(cond (sequential? data)
|
||||
data
|
||||
(nil? data)
|
||||
nil
|
||||
:else
|
||||
[data]))))}}}))
|
||||
(cond
|
||||
(vector? data)
|
||||
data
|
||||
(sequential? data)
|
||||
data
|
||||
(nil? data)
|
||||
nil
|
||||
:else
|
||||
[data]))))}}}))
|
||||
|
||||
(defn wrap-merge-prior-hx [handler]
|
||||
;; TODO this should just be automatic
|
||||
|
||||
Reference in New Issue
Block a user