Skip to content

Commit

Permalink
mark utils.re-frame/defn as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
akatov committed Nov 1, 2023
1 parent 6c2b437 commit 52bdc4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/re_frame.clj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
event keywords under which the function will be registered
- TODO: add suport for `prepost-map?` (don't forget to add it to arglist)
- TODO: add validation of macro parameters"
{:arglists '([name doc-string? attr-map? [params*] body])}
{:arglists '([name doc-string? attr-map? [params*] body])
:deprecated true}
[name & fdecl]
(let [m (if (string? (first fdecl))
{:doc (first fdecl)}
Expand Down

0 comments on commit 52bdc4b

Please sign in to comment.