Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikitommi committed Jan 11, 2025
1 parent 67d3f25 commit 2a48bab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/malli/transform.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,7 @@
from-properties (some-fn (from m/properties) (from m/type-properties))]
(if-let [?interceptor (or (some from-properties keys) (get transformers (m/type schema)) default)]
(let [interceptor (-interceptor ?interceptor schema name this options)]
(if (nil? acc) interceptor
(-interceptor [acc interceptor] schema [(:name acc) name] this options)))
(if (nil? acc) interceptor (-interceptor [acc interceptor] schema [(:name acc) name] this options)))
acc))) nil chain'))))))

(defn json-transformer
Expand Down

0 comments on commit 2a48bab

Please sign in to comment.