This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-29
Channels
- # 100-days-of-code (2)
- # bangalore-clj (1)
- # beginners (141)
- # cider (33)
- # cljs-dev (13)
- # cljsjs (7)
- # cljsrn (1)
- # clojure (88)
- # clojure-conj (3)
- # clojure-dev (24)
- # clojure-italy (11)
- # clojure-nl (4)
- # clojure-russia (1)
- # clojure-sanfrancisco (1)
- # clojure-spec (4)
- # clojure-uk (53)
- # clojurescript (65)
- # core-logic (2)
- # cursive (28)
- # datomic (33)
- # duct (2)
- # emacs (3)
- # figwheel-main (9)
- # fulcro (44)
- # hoplon (6)
- # leiningen (144)
- # mount (1)
- # nrepl (21)
- # off-topic (102)
- # onyx (2)
- # other-languages (5)
- # pathom (6)
- # planck (3)
- # portkey (1)
- # re-frame (7)
- # reagent (5)
- # reitit (17)
- # shadow-cljs (24)
- # spacemacs (16)
- # tools-deps (64)
- # uncomplicate (2)
- # vim (22)
Here you say that the "context" map should contain ::p.http/url
Then call request
that requires :url
and :method
. Is it a bug? Should it unqualify or should it req-un
?
https://github.com/wilkerlucio/pathom/blob/master/src/com/wsscode/pathom/diplomat/http/clj_http.clj#L9
@souenzzo the calls to request must use namespaced keywrods from the diplomat/http.cljc
namespace
in case of the cljhttp this code (not written) would convert the namespaced keys to the plain ones that clj-http accepts
(the current version is just not ready, I started written and just stopped, but PR's are very welcome if you like to get that working :))
the fetch version is working if you like to get some inspiration: https://github.com/wilkerlucio/pathom/blob/master/src/com/wsscode/pathom/diplomat/http/fetch.cljs