Wedge-compatible :system for integrant/aero. Example system_config.edn:
Uses aero to read config.edn
, and gets the system from it.
Requires aero
and integrant
to be on the classpath, and for dev also
requires integrant/repl
.
Runs ig/prep
and ig/load-namespaces
as part of the start process.
Adds #ig/ref and #ig/refset to Aero, which correspond to ig/ref and ig/refset respectively.
See [[system-config]] for supported options.
Wedge-compatible :system for integrant/aero. Example system_config.edn: * {:system io.dominic.wedge.integrant-aero} * {:system io.dominic.wedge.integrant-aero :key :integrant/system} Uses aero to read `config.edn`, and gets the system from it. Requires `aero` and `integrant` to be on the classpath, and for dev also requires `integrant/repl`. Runs `ig/prep` and `ig/load-namespaces` as part of the start process. Adds #ig/ref and #ig/refset to Aero, which correspond to ig/ref and ig/refset respectively. See [[system-config]] for supported options.
(get-config opts)
opts will be passed to aero. Optional opts: :io.dominic.wedge.aero/tag-ns - a list of symbols to be required prior to reading. Use this to load any namespaces containing Aero tags.
opts will be passed to aero. Optional opts: :io.dominic.wedge.aero/tag-ns - a list of symbols to be required prior to reading. Use this to load any namespaces containing Aero tags.
(start config opts)
Optional opts: :key - the key in config which contains the integrant system. Defaults to :ig/system. :keys - keys to start.
Optional opts: :key - the key in config which contains the integrant system. Defaults to :ig/system. :keys - keys to start.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close