This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-02-27
Channels
- # announcements (47)
- # babashka (36)
- # beginners (7)
- # biff (34)
- # calva (9)
- # cider (5)
- # clj-http (13)
- # clj-kondo (24)
- # cljs-dev (9)
- # clojure (146)
- # clojure-austin (1)
- # clojure-europe (16)
- # clojure-nl (1)
- # clojure-norway (8)
- # clojure-uk (2)
- # clojurescript (4)
- # clr (1)
- # core-async (9)
- # cursive (11)
- # datomic (6)
- # emacs (17)
- # events (3)
- # fulcro (45)
- # graphql (7)
- # helix (1)
- # hyperfiddle (28)
- # java (1)
- # london-clojurians (1)
- # lsp (75)
- # malli (1)
- # membrane (35)
- # reitit (6)
- # releases (1)
- # shadow-cljs (48)
- # tools-build (5)
- # tools-deps (27)
Probably not. Making use of reitit is as simple as adding [metosin/reitit "0.6.0"]
to your project.clj file
The key documentation to read is the following:
• https://cljdoc.org/d/metosin/reitit/0.6.0/doc/basics/route-syntax
• https://cljdoc.org/d/metosin/reitit/0.6.0/doc/ring/ring-router
There’s also plenty of example code on the GitHub repository to help you get started with these things for https://github.com/metosin/reitit/blob/master/examples/ring-example/src/example/server.clj and https://github.com/metosin/reitit/blob/master/examples/frontend/src/frontend/core.cljs#L59 routing
Hello. Are default values specified in Malli expected to work when using Reitit coercion in the frontend?
Update: of course they do! I was overriding the default transformers, and I didn't know the default-values were provided by a transformer 😅 After adding that default transformer too everything works as expected.
Sorry for the noise