Fork me on GitHub
#reitit
<
2023-02-27
>
Damon Guo07:02:00

Does reitit have a Leiningen Template?

hifumi12308:02:19

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-syntaxhttps://cljdoc.org/d/metosin/reitit/0.6.0/doc/ring/ring-router

Bingen Galartza Iparragirre14:02:47

Hello. Are default values specified in Malli expected to work when using Reitit coercion in the frontend?

Bingen Galartza Iparragirre11:03:09

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.