-
from:
``` clj
(defn new-system [config]
(component/map->SystemMap
{:state (reify component/Lifecycle
(start [_] {:counter (atom 0)}))
:http (component/using
(htt…
-
I've opened an [issue](https://github.com/cemerick/friend/issues/158) on `cemerick/friend` for async handlers. `friend-oauth2` should support async handlers too.
Ring docs: https://github.com/ring-…
mping updated
5 years ago
-
We have a large ring/compojure application with lots of api routes. We are trying to use ring's async handlers but we eventually run out of stack if a matching path is not found in time.
```clojure…
-
My code:
```
(exception/create-exception-middleware
(merge exception/default-handlers
{:reitit.coer…
-
I was trying to implement a custom handler for image loading, which gave me the following error:
quill.js?v=ad3ea11b:12611 Uncaught TypeError: Cannot read properties of null (reading 'offset')
…
-
According to the README you can provide the following as general options to project.clj:
`:adapter - A map of options to be passed to the Ring adapter. This has no effect if you're deploying your a…
-
Including bidi as a dependency can break handlers that are expecting a higher version of `ring-core`:
https://github.com/ptaoussanis/sente/issues/322
Should the `ring-core` dependency be :scope "p…
-
Compojure and other libraries that compose different handlers together expect to try handlers until the first one which returns a response map. Handlers indicate they do not handle a particular reques…
-
separate namespace `compojure.api.buddy` with registered dispatchers for making it easy to use them from c-api. Something like:
``` clojure
(context* "/api" []
:authenticated? true
(context* "/a…
-
I have the `rrc/coerce-request-middleware` middleware turned on.
Here's the handler:
```
["/reset-password" {:post {:parameters {:body ::spec/reset-password-params}
…