From 31c18a1eb9d98be350fee908fab094e9f17e2470 Mon Sep 17 00:00:00 2001 From: Daniel Vingo Date: Mon, 21 Feb 2022 10:15:22 -0500 Subject: [PATCH] 'fulcro-reitit: Add docstring for will-enter helper' --- src/main/dv/fulcro_reitit.cljs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/dv/fulcro_reitit.cljs b/src/main/dv/fulcro_reitit.cljs index d82bd5d..e322067 100644 --- a/src/main/dv/fulcro_reitit.cljs +++ b/src/main/dv/fulcro_reitit.cljs @@ -554,6 +554,8 @@ ;{:malli/schema [:=> [:cat ]]} (defn will-enter + "Takes a will-enter function as expected for use in fulcro routing, but replaces any parameters in the second argument + with their coerced values from the current route match if those parameters are present." [f] (fn will-enter [app args] (let [current-route (current-route-from-url app)