integrant
integrant copied to clipboard
Micro-framework for data-driven architecture
Would be awesome to have the pre-init hook. Why? (Rationale): Right now we have prep-key and pre-init-spec, on prep-key you still have all refs unresolved. On my use case, some...
Related #22 This PR enhances the sorting strategy by grouping keys based on the depth of nodes. So instead of attempting to sequentially invoke initializing function for each element in...
Hi folks! I'm trying to add support for resolving async dependencies (js/promise so far) before injecting them in the related dependent components. The idea in my repo would be to...
Hello! Thank you for making Integrant, I've started adopting it and I love how simple it is to use and how clearly it defines dependencies between my components! I'm also...
For example, component `A` depends on `B` and `C` but both `B` and `C` are independent and can take quite some time to initialize. Could Integrant start `B` and `C`...
The video link for Enter Integrant is unavailable due to the privacy settings in Vimeo.
For example, say I have 2 keys ``` (defmethod ig/init-key ::config [_ _] (aero/read-config "config.edn")) ;; => {:db-config {...}, :other-config ...} (defmethod ig/init-key ::db [_ {:keys [db-config]}] (db-init db-config)) ```...
Babashka is a dialect of Clojure that supports the [Small Clojure Interperter](https://github.com/borkdude/sci) sci as a graalvm compiled native image. It's main usecase is quick startup times, so it's suitable as...
Currently, the configuration name and type are coupled together. I believe it would be much simpler to dispatch the configuration based on specific key in the configuration map itself. Both...
So this looks great, but I have a few clarity questions: # pulling in external environment vars Is `prep-key` the right place to do this? Specifically for things like JDBC...