Fork me on GitHub
#ring-swagger
<
2017-03-24
>
kenbier00:03:05

@ikitommi so your trick helped me use immutant2 with compojure-api, but it breaks if i try to use any middleware. I am getting a NPE if i use the middleware macro or if i use the :middleware restructuring option

ccann18:03:20

can someone tell me what the * endpoints are?

ccann18:03:25

e.g. GET*, POST* etc. (in compojure-api)

ikitommi18:03:55

@ccan pre 1.0.0 had those, to distinguish from normal compojure routes.

ccann18:03:03

oooh, okay, thanks

ikitommi18:03:53

@kenbier Immutant seems to have it's own impl of ring request via LazyMap, might have something odd there. Could you write a issue with minimalistic failing case?

kenbier21:03:36

sure, will do.

kenbier21:03:04

ah with a minimal repro case i got it to work. apologies! EDIT: ahh actually i got it to fail somehow, but i’m having trouble reproducing it. its working for me now, but if i run into it again i’ll log it.

ccann19:03:58

is there a way with compojure-api to turn off a middleware for one route?