Fork me on GitHub
#reitit
<
2019-06-16
>
fmn03:06:34

Hi, just a quick question, right now I'm playing with sieppari. In this interceptor model, am I right to say that there's no way to short-circuit a request. For example a wrap-authenticated-only middleware has no equivalent in interceptor except when I use exception.

ikitommi06:06:25

@funyako.funyao156 the slack history has lost it, but, you can (assoc ctx :queue nil, :response ...) to short-circuit. Will have helpers (and docs!) in the future.

ikitommi06:06:29

Are people using zullip? There is a zullip bot here, need to figure out how the history plays out with it..

fmn12:06:06

@ikitommi Nice, thank you! Idk about the zulip bot tho.