This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-01
Channels
- # beginners (41)
- # boot (25)
- # cider (34)
- # cljs-dev (221)
- # cljsrn (1)
- # clojure (191)
- # clojure-dusseldorf (4)
- # clojure-hamburg (1)
- # clojure-italy (8)
- # clojure-poland (1)
- # clojure-russia (22)
- # clojure-spec (27)
- # clojure-uk (91)
- # clojurescript (101)
- # core-async (11)
- # cursive (33)
- # data-science (9)
- # datascript (3)
- # datomic (30)
- # emacs (4)
- # events (4)
- # garden (6)
- # jobs (3)
- # leiningen (8)
- # luminus (39)
- # lumo (2)
- # off-topic (158)
- # om (13)
- # onyx (1)
- # parinfer (22)
- # planck (2)
- # protorepl (5)
- # re-frame (7)
- # reagent (10)
- # remote-jobs (1)
- # ring (1)
- # ring-swagger (20)
- # unrepl (92)
- # vim (11)
so i have routes on the format:
(POST "/route" []
:coercion :schema
:responses {200 {:schema CompleteSchema}
400 {:schema {:error String}}}
:body [use-case CompleteSchemaWithoutId]
@jooivind the named :coercion
is introduced in 2.0.0
, the 1.1.0 uses the old (hairy) way. Can’t remember the old syntax anymore. Sadly, the wiki-pages are out-of-sync (mostly ported to 2.0.0 already) 😞
for non-prod, definetely 2.0.0. For prod, at your own risk. Mostly stable, but still alpha.
Ah, the old Google way. Keep a beta/alpha badge on everything perpetually even though it’s production quality. 🙂
@henrik that 😉 the first alphas with Muuntaja had lot of small issues with backwards compatibility, now as stabile as it gets (also used by Luminus & Duct), the spec-coercion might still have issues. Feedback welcome.
fwiw, I've had various 1.2.0 snapshots and 2.0 running prod for my site's backend (http://curiosity.com) since early this year