Skip to content

Commit

Permalink
Make optional fns section more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
logseq-cldwalker committed Jan 20, 2023
1 parent 0d60dfd commit d58a2a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/dev-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ We use [malli](https://github.com/metosin/malli) for optionally validating fns
a.k.a instrumenting fns. Function validation is enabled in dev mode. To add
typing for a fn, just add it to a var's metadata [per this
example](https://github.com/metosin/malli/blob/master/docs/function-schemas.md#function-schema-metadata).
To re-generate the clj-kondo type annotations for malli typed fns, update
We also have clj-kondo type annotations derived from these fn schemas. To
re-generate them after new schemas have been added, update the namespaces in
`gen-malli-kondo-config.core` and then run `bb dev:gen-malli-kondo-config`. To
learn more about fn instrumentation, see [this
page](https://github.com/metosin/malli/blob/master/docs/clojurescript-function-instrumentation.md).
Expand Down

0 comments on commit d58a2a9

Please sign in to comment.