This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-01-10
Channels
- # announcements (14)
- # beginners (55)
- # calva (4)
- # cider (9)
- # clojure (56)
- # clojure-austin (25)
- # clojure-brasil (1)
- # clojure-dev (29)
- # clojure-europe (44)
- # clojure-mexico (1)
- # clojure-nl (2)
- # clojure-norway (1)
- # clojure-uk (5)
- # clojurescript (15)
- # cursive (9)
- # datomic (5)
- # emacs (30)
- # events (1)
- # graalvm (30)
- # honeysql (17)
- # hyperfiddle (54)
- # introduce-yourself (1)
- # jobs-discuss (6)
- # kaocha (2)
- # leiningen (5)
- # lsp (6)
- # malli (3)
- # missionary (16)
- # off-topic (42)
- # overtone (40)
- # pedestal (2)
- # re-frame (21)
- # shadow-cljs (16)
- # squint (2)
- # tools-deps (14)
hi there, i just upgraded from 0.8.9 to the latest for malli and now i am getting this error. is there a way i can find out what schema it is having the exception about?
hi @UB9H5TE2X. You can ask (ex-data *e)
to get more details. There should not be breaking changes in the schema syntax, but I think :or
requires now at least one child:
(m/schema [:or])
; =throws=> :malli.core/child-error
(ex-data *e)
; {:type :malli.core/child-error,
; :message :malli.core/child-error,
; :data {:type :or, :properties nil, :children nil, :min 1, :max nil}}