mirror of
https://github.com/metosin/reitit.git
synced 2025-12-18 08:51:12 +00:00
Polish pedestal chains when printing context diffs
This commit is contained in:
parent
3dff4c84aa
commit
4e14b1f05e
1 changed files with 3 additions and 1 deletions
|
|
@ -20,7 +20,9 @@
|
||||||
|
|
||||||
(defn- polish [ctx]
|
(defn- polish [ctx]
|
||||||
(-> ctx
|
(-> ctx
|
||||||
(dissoc ::original ::previous :stack :queue)
|
(dissoc ::original ::previous :stack :queue
|
||||||
|
:io.pedestal.interceptor.chain/stack
|
||||||
|
:io.pedestal.interceptor.chain/queue)
|
||||||
(update :request dissoc ::r/match ::r/router)))
|
(update :request dissoc ::r/match ::r/router)))
|
||||||
|
|
||||||
(defn- handle [name stage]
|
(defn- handle [name stage]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue