This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-02
Channels
- # announcements (1)
- # babashka (6)
- # beginners (53)
- # cider (2)
- # circleci (2)
- # clj-kondo (1)
- # cljdoc (1)
- # clojars (2)
- # clojure-berlin (1)
- # clojure-europe (23)
- # clojure-serbia (1)
- # clojure-spec (2)
- # clojure-uk (9)
- # clojurescript (12)
- # datomic (34)
- # emacs (1)
- # fulcro (46)
- # leiningen (15)
- # planck (3)
- # re-frame (46)
- # reitit (17)
- # remote-jobs (4)
- # shadow-cljs (17)
- # sql (3)
- # tools-deps (2)
Hi @ikitommi On this page: https://metosin.github.io/reitit/basics/error_messages.html, the link at the bottom re: Runtime Exception
links to a md
page that instead of loading in the browser, downloads the page (i.e., it's not html).
There you go - it renders locally, hope it works when generating doc for the web 🙂
Hi, i'm wondering if anyone has any tips on how to work around the inconsistencies of stripping keys when using edn vs json as described in https://github.com/metosin/reitit/issues/317 I'm finding some of my unit tests are complaining and i'm re-writing the same tests for different serialization/formatters. (i.e. i bug popped up with json values being null because they hadn't been coerced, but edn/etc. passes all tests...) Any tips appreciated, thanks.
@joefromct that should be fixed in 0.4.0
So, having an issue - I've seen before, but can't seem to resolve this time. I'm trying to look at writing a little exception handler for specific business use-cases internal to my system. Therefore, just kicking the tyres atm, and wrote a very very basic, mostly-a-copy-of-the-example one. When I eval the ring-handler (router), I get the map as I expect (i.e., :status
, :body
...etc), but when it reaches jetty, it has blown up with this error java.lang.IllegalArgumentException: No implementation of method: :write-body-to-stream of protocol: #'ring.core.protocols/StreamableResponseBody found for class: clojure.lang.PersistentArrayMap