This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-28
Channels
- # babashka (10)
- # beginners (140)
- # cider (6)
- # clj-kondo (10)
- # cljs-dev (39)
- # cljsrn (6)
- # clojars (1)
- # clojure (23)
- # clojure-europe (2)
- # clojure-spec (7)
- # clojure-uk (6)
- # clojurescript (1)
- # conjure (16)
- # cursive (3)
- # datomic (3)
- # emacs (6)
- # fulcro (13)
- # graalvm (3)
- # malli (8)
- # meander (4)
- # off-topic (43)
- # pathom (1)
- # pedestal (15)
- # re-frame (13)
- # reagent (3)
- # sci (25)
- # shadow-cljs (26)
- # sql (9)
- # testing (34)
- # tools-deps (80)
About to add eager references too:
(def Schema
[:and
{:registry {::a ::b
::b ::c
::c [:schema pos-int?]}}
[:and ::a ::b ::c]])
(m/form Schema)
;[:and {:registry #:user{:a :user/b
; :b :user/c
; :c [:schema pos-int?]}}
; [:and :user/a :user/b :user/c]]
(m/to-map-syntax Schema)
;{:type :and
; :properties {:registry #:user{:a :user/b
; :b :user/c
; :c [:schema pos-int?]}}
; :children [{:type :and
; :children [{:type :schema
; :children [:user/a]}
; {:type :schema
; :children [:user/b]}
; {:type :schema
; :children [:user/c]}]}]}
e.g. each registry hop retains the information the original linkage + :schema
element to mark Entitys in a schema data graph.