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
will ask if someone could check that out. if there is a bug, help welcome in fixing it