Place holder for your JES Pathom registry. Make available in the same namespace as where you use sm->
Place holder for your JES Pathom registry. Make available in the same namespace as where you use sm->
(<-sm sm-value)
Smart maps don't always return values like you'd expect. This strips the extras by making it a string and returns it to being edn again.
Smart maps don't always return values like you'd expect. This strips the extras by making it a string and returns it to being edn again.
(build-jes m)
Just a wrapper fn around jes group to match the name with intention.
Just a wrapper fn around jes group to match the name with intention.
(build-jes-reg jes-map)
(build-jes-reg jes-map rs-and-ms)
Makes a Pathom registry with JES as a static table resolver. If you want to add more resolvers, pass them in as a vector.
Makes a Pathom registry with JES as a static table resolver. If you want to add more resolvers, pass them in as a vector.
(clear-jes-cache m)
This is useful during development. The cache is absolutely helpful in terms of performance, but a pain when developing at the repl.
This is useful during development. The cache is absolutely helpful in terms of performance, but a pain when developing at the repl.
(sm-> reso)
(sm-> ident reso)
(sm-> added-reg ident reso)
Returns values from the smart map. Dispatches of the type of ident and resolver supplied (map, keyword, or vector).
Returns values from the smart map. Dispatches of the type of ident and resolver supplied (map, keyword, or vector).
(with-sm)
(with-sm selector)
(with-sm added-reg selector)
If jes-reg is not available, nothing will happen.
If *jes-reg* is not available, nothing will happen.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close