This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-27
Channels
- # aleph (1)
- # beginners (48)
- # cider (34)
- # clojure (27)
- # clojure-dev (15)
- # clojure-uk (21)
- # clojurescript (27)
- # data-science (3)
- # datomic (10)
- # instaparse (30)
- # lumo (85)
- # off-topic (3)
- # perun (2)
- # portkey (24)
- # re-frame (13)
- # reagent (17)
- # ring (1)
- # shadow-cljs (77)
- # spacemacs (1)
- # test-check (3)
- # yada (4)
I have (schema/optional-key :start) org.joda.time.DateTime
in the :query
field for a GET and it works great.
However, the same thing in the :body
field (for a POST) will say I have a malformed request.
Is there something different in how the coercion is made?
Ah, I think I understand... when in the body, the decoding is done using the format (ie transit) while in the query it's decoded using some kind of default.