Skip to content

Commit

Permalink
Deprecate :http-xhrio
Browse files Browse the repository at this point in the history
In preperation for breaking API changes in the next release that are
required for day8#4, day8#7 and day8#32 new fx keywords will be introduced.
  • Loading branch information
superstructor committed May 15, 2019
1 parent c93ed45 commit 6a1c17a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/day8/re_frame/http_fx.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6a1c17a

Please sign in to comment.