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 927db4a commit c5e680b
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 @@ -53,6 +53,7 @@

(defn http-effect
[request]
(console :warn "re-frame-http-fx: \":http-xhrio\" fx is deprecated. Use \":http/req\".")
(let [seq-request-maps (if (sequential? request) request [request])]
(doseq [request seq-request-maps]
(-> request request->xhrio-options ajax/ajax-request))))
Expand Down

0 comments on commit c5e680b

Please sign in to comment.