core
core copied to clipboard
The core library of the Duct framework
Hi, it appears to be hard to get a handle of a production Integrant system, outside of the context of a http request, under Duct. This would facilitate one-off repl...
I have some module config that varies between :duct.profile/dev and :duct.profile/prod. But the module is not initialized when it exists only in those profiles. config.edn: ``` :duct.profile/dev {:duct.module/foo {:bar :dev-value}}...
:duct/module functionality should be :integrant/module and be implemented either in integrant or an intermediary project like integrant-module, as it has a level of generality beyond duct. And have it be...
Just started fiddling with duct and integrant, so please bear with a beginner here. I have stumbled upon what I believe may be an issue related to the duct/include reader...
The merge order of `:duct/profile`'s does not work as expected. Firstly one might reasonably expect that the merge order of profiles is determined by the order of profiles listed in...
`merge-configs` function, deeper down, uses a `pick-prioritized` function that, among other scenarios, picks a `non-nil` value over a `nil` value. I suppose this is to deal with k-v pairs missing...
### Old behavior of `:duct.core/include` key config foo.edn ``` {:foo/foo 1} ``` config bar.edn ``` {:bar/:bar 2 :duct.core/include ["foo.edn"]} ``` config.edn that includes bar.edn ``` {:duct.core/include ["bar.edn"]} ``` And prep'ing...
There are libs(e.g. https://github.com/r0man/ring-cors) that require regex patterns to be passed in, and it would be great if I can specify e.g. `#"some-allowed-origin"` directly in the config edn file. This...
There is metadata - `replace`, `displace`, `promote`, `prepend`, `distinct`... Would be great to have description how to use it, what is it for, what is difference between them,....
If an 0.10 module is used on a 0.11 project, the configuration fails on a `prep` assert that is hard to understand. We can add a better check with a...