This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-21
Channels
- # beginners (201)
- # boot (125)
- # cider (3)
- # cljs-dev (21)
- # cljsrn (165)
- # clojars (8)
- # clojure (332)
- # clojure-belgium (1)
- # clojure-gamedev (8)
- # clojure-russia (75)
- # clojure-spec (25)
- # clojure-uk (96)
- # clojurebridge (2)
- # clojurescript (130)
- # code-reviews (16)
- # cursive (26)
- # datomic (20)
- # devops (6)
- # emacs (6)
- # hoplon (90)
- # jobs (9)
- # luminus (2)
- # off-topic (4)
- # om (65)
- # onyx (5)
- # pedestal (4)
- # protorepl (6)
- # re-frame (34)
- # reagent (12)
- # ring (4)
- # ring-swagger (7)
- # specter (2)
- # test-check (8)
- # untangled (2)
- # vim (1)
- # yada (6)
@ikitommi how stable is compojure-api 1.2.0-alpha1? I am interested in squeezing out every inch of cpu from our production environment
Hello guys, I got stucked right on the beginning with configuration. I am using compojure-api 1.2.0-alpha1 and I did my configuration via
(def app (api {:formats [:json-kw :transit-json]
:swagger swagger-config}))
Howevever I am getting Key must be an integer
error, problem is obviously :formats
key but I am not sure what's going on.Thanks for help
ok, solved, it's format
instead of formats
@petr.mensik I think it's the other way around, changed it to :formats
so that the old configuration would break at creatipn time with good description. Contributions welcome for good migration docs.
@singen it's alpha, so subject to change :) No guarantees, but not planning to break more things and we have been running different versions of 1.2.0-* in prod for some time now. Muuntaja options will get one round of polishing, small things. To support async ring, all mw need to be lifted (and tested) to async.
@ikitommi Actually :format
works for me - however I will look into the docs, thanks 🙂