definj
dime.dropin/defmulti
Support for multi-methodsdime.dropin/defn
Support for non-declarative injection (scanning code):expose
annotation to be associated with one or more keys:context [:db :global]
:expose-
(instead of :expose
)dime.util/*expose-private-key*
as private-exposure meta keydime.var/defconst
as a shorthand to create singletons
dime.var/create-vars!
dime.var/remove-vars!
dime.var/sym->source
for tools: navigation supportclojure.lang.IFn/applyTo
in definj
dime-cider.el
script for Emacs-CIDER M-.
assistancedime.util
namespace
:inject
with :expose
for clarity:post-inject
annotation :singleton
(not composable)dime.util
namespacedime.util
for reading var metadatadime.core/inj
dime.core/inj
read metadata using attribute names in dime.util
defrecord
, discoverable as varsdime.type/Injectable
now returns attributes as dime.type/InjectableAttributes
id-key
renamed to node-id
(to uniquely represent the node in a graph):impl-id
to uniquely represent the injectable implementationdime.var/ns-vars->graph
:
(dv/ns-vars->graph ['ns1 'ns2 'ns3])
, Override: (dv/ns-vars->graph {'ns1 :web 'ns2 :biz 'ns3 :db})
:post-inject
annotation :singleton
is now considered as (fn [f k m] (f))
dime.core/dependency-graph
dropped in favor of new function dime.core/attr-map
[lein-viz "0.3.0"]
:post-inj
attribute (non-nil implies singleton)dime.type/Injectable
for injectable types
clojure.core/defn
) implement this protocol as an implementation detaildime.core/inject
is a fn and works with injectables onlydime.var
dime.var/ns-vars->graph
picks vars having at least one inject annotationdime.core/dependency-graph
to extract dependency-keys from a dependency graph of injectables:inject
defn
var: tag :inject
:pre-inject
:post-inject
defn
varsdefn
vars):pre-inject-processor
:post-inject-processor
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close