I’m using lacinia-pedestal in admittedly a very strange way: I’m embedding a pedestal chain/execute call inside of a ring handler using lacina-pedestal’s default interceptors. However I’m running into the problem that many of these interceptors return a :response add a :response to the context, but don’t terminate. It’s almost as if they assume there’s a (chain/terminate-when context :response) somewhere; without this e.g. a query parse error will still attempt to execute the query. Is there an interceptor I’m missing?
I also use the chain in odd ways. had to include this interceptor to emulate an http server in some of my test infra
[io.pedestal.http.impl.servlet-interceptor :refer [terminator-injector]]
maybe that’s it
ah! yeah that’s definitely it
kinda weird it’s only in the servlet impl
ok, this makes me confident that a “normal” server will have this and I’m not doing something odd
thanks3
glad to return the favour. you’ve helped me plenty