-
-
Save deadghost/cbf49f2faa50ba56e8a43cda3326538b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns contact.api.v0.interceptor.inspect | |
(:require [io.pedestal.interceptor :refer [interceptor]])) | |
(def inspect | |
"Used during development to inspect our interceptor queue and stack." | |
(interceptor | |
{:name ::inspect | |
:enter | |
(fn [context] | |
(pr context) | |
context)})) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment