From babd481b7f7189254c52a63314c5c90833640b61 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 2 Dec 2025 17:25:14 +0100 Subject: [PATCH] :sparkles: Make sm/coercer lazy --- common/src/app/common/schema.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/app/common/schema.cljc b/common/src/app/common/schema.cljc index 9672c17e71..a5a9828ad3 100644 --- a/common/src/app/common/schema.cljc +++ b/common/src/app/common/schema.cljc @@ -304,7 +304,7 @@ (defn coercer [schema & {:as opts}] - (let [decode-fn (decoder schema json-transformer) + (let [decode-fn (lazy-decoder schema json-transformer) check-fn (check-fn schema opts)] (fn [data] (-> data decode-fn check-fn))))