Fork me on GitHub
#reitit
<
2020-03-03
>
joefromct19:03:40

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}))

ikitommi18:03:16

e.g. setting a custom handler for :reitit.coercion/request-coercion and :reitit.coercion/request-coercion should effect that

worlds-endless23:03:18

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

ikitommi18:03:09

will ask if someone could check that out. if there is a bug, help welcome in fixing it