This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-03
Channels
- # aleph (1)
- # announcements (9)
- # babashka (3)
- # beginners (200)
- # calva (22)
- # cider (74)
- # clojure (97)
- # clojure-dev (43)
- # clojure-europe (15)
- # clojure-italy (4)
- # clojure-nl (4)
- # clojure-sanfrancisco (2)
- # clojure-uk (103)
- # clojuredesign-podcast (2)
- # clojurescript (45)
- # core-async (5)
- # cursive (13)
- # datomic (42)
- # emacs (20)
- # fulcro (6)
- # graalvm (37)
- # jackdaw (10)
- # leiningen (7)
- # mid-cities-meetup (3)
- # off-topic (2)
- # pathom (1)
- # pedestal (3)
- # re-frame (6)
- # reagent (38)
- # reitit (5)
- # shadow-cljs (117)
- # spacemacs (1)
- # sql (1)
- # tools-deps (17)
- # vim (14)
- # xtdb (18)
Hi, i'm really loving swagger + reitit + spec for my somewhat complex data transformation services...
i'm wondering if there is a way to omit the actual spec from the error? My specs are sort of huge, and distracting for my end users.
I think i want something like this applied in reitit with expound but it doesn't seem to take, i wonder if i have to set it earlier or something?
(expound/custom-printer {:show-valid-values? false :print-specs? false :theme :figwheel-theme}))
here’s the guide to set up custom exceptions: https://cljdoc.org/d/metosin/reitit/0.4.2/doc/ring/exception-handling-with-ring, hope it helps
e.g. setting a custom handler for :reitit.coercion/request-coercion
and :reitit.coercion/request-coercion
should effect that
I need to perform tear-down upon leaving some pages in my SPA. The :stop
option in the re-frame controller sounds perfect for this, but it doesn't actually seem to do anything. Any help? This is https://github.com/metosin/reitit/issues/368