From e3bd9148f238ceeaebf39bbf6cc42e833b1da6ae Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 7 Oct 2025 12:53:44 +0200 Subject: [PATCH] :sparkles: Add ::sm/atom to schemas --- common/src/app/common/schema.cljc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/src/app/common/schema.cljc b/common/src/app/common/schema.cljc index 248f7e7d63..f546beed38 100644 --- a/common/src/app/common/schema.cljc +++ b/common/src/app/common/schema.cljc @@ -853,6 +853,11 @@ ;; ::oapi/type "string" ;; ::oapi/format "number"}}) +#?(:clj + (register! + {:type ::atom + :pred #(instance? clojure.lang.Atom %)})) + (register! {:type ::fn :pred fn?})