integrant

wagjo 2017-09-26T07:37:42.000297Z

Hi, I have a suggestion, expressing hierarchy directly in the configuration map.

{:example/web-1 {:port 8080, :handler #ig/ref :handler/greet :integrant.core/parent :adapter/jetty}
 :example/web-2 {:port 8081, :handler #ig/ref :handler/greet :integrant.core/parent :adapter/jetty}
 :handler/greet {:name "Alice"}}
Such inline ancestor relations would take preference before ones created with c.c/derive. The upside is that such hierarchy is specified as a data, inside configuration map., and does not pollute global state. Shall I prepare a PR?