progress on pay button.

This commit is contained in:
2024-03-11 08:20:33 -07:00
parent fb2eefc9ac
commit 9e9eda343a
5 changed files with 109 additions and 35 deletions

View File

@@ -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