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