Fork me on GitHub
#ring-swagger
<
2016-12-21
>
singen11:12:04

@ikitommi how stable is compojure-api 1.2.0-alpha1? I am interested in squeezing out every inch of cpu from our production environment

petr.mensik15:12:34

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.

petr.mensik15:12:39

Thanks for help

petr.mensik15:12:25

ok, solved, it's format instead of formats

ikitommi15:12:11

@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.

ikitommi15:12:01

@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.

petr.mensik16:12:05

@ikitommi Actually :format works for me - however I will look into the docs, thanks 🙂