From 6a1c17ae2bc01c68f91288ab35ea38106a57a235 Mon Sep 17 00:00:00 2001 From: Isaac Johnston Date: Wed, 15 May 2019 20:37:12 +0800 Subject: [PATCH] Deprecate :http-xhrio In preperation for breaking API changes in the next release that are required for #4, #7 and #32 new fx keywords will be introduced. --- src/day8/re_frame/http_fx.cljs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/day8/re_frame/http_fx.cljs b/src/day8/re_frame/http_fx.cljs index bf09848..9cdf0ad 100644 --- a/src/day8/re_frame/http_fx.cljs +++ b/src/day8/re_frame/http_fx.cljs @@ -78,6 +78,7 @@ (defn http-effect [request] + (console :warn "re-frame-http-fx: \":http-xhrio\" fx is deprecated. Use \":http/req\".") #_(when-not (s/valid? ::sequential-or-map request) (throw (ex-info "http-xhrio fx: spec error" (s/explain-data ::sequential-or-map request)))) (let [#_ #_ [conform-val v] (s/conform ::sequential-or-map request)