duct

lambder 2019-01-23T13:25:54.043700Z

hi, I'm using duct/core 6.2.0

lambder 2019-01-23T13:26:20.044200Z

I'm calling duct/prep with custom readers.

lambder 2019-01-23T13:27:15.045200Z

The readers work fine for the config passed to duct/prep unless it has includes.

lambder 2019-01-23T13:28:00.045700Z

it looks like duct.core/apply-includes is not passing the custom readers given to duct/prep

lambder 2019-01-23T13:28:46.046400Z

What would be the solution to have the custom readers working with the configs including other ones?

lambder 2019-01-23T13:29:21.046600Z

clojure.core/eval                        core.clj: 3206
                                                              ...                                      
                      droit.looking-glass.populator.core/eval5173                       REPL Input     
                                                              ...                                      
droit.looking-glass.populator.populator-duct-config-test/eval5185  populator_duct_config_test.clj:   25
                                                   duct.core/prep                        core.clj:  144
                                                   duct.core/prep                        core.clj:  147
                                         duct.core/apply-includes                        core.clj:   97
                                          duct.core/load-includes                        core.clj:   94
                                                clojure.core/mapv                        core.clj: 6823
                                              clojure.core/reduce                        core.clj: 6747
                                                              ...                                      
                                             clojure.core/mapv/fn                        core.clj: 6832
                                       duct.core/load-includes/fn                        core.clj:   94
                                   duct.core/load-config-resource                        core.clj:   91
                                                              ...                                      
                                          clojure.core/memoize/fn                        core.clj: 6273
                                               clojure.core/apply                        core.clj:  657
                                                              ...                                      
                                                duct.core/prep/fn                        core.clj:  147
                                            duct.core/read-config                        core.clj:   81
                                       integrant.core/read-string                       core.cljc:  111
                                          clojure.edn/read-string                         edn.clj:   46

iku000888 2019-01-25T08:06:33.049200Z

@lambder One thing is duct 0.7.0 has dramatically changed the behavior of include, so I suggest upgrading first?

lambder 2019-01-25T10:22:24.049400Z

https://github.com/duct-framework/core/blob/master/README.md is still not updated to 0.7.0. How do I prepare config etc in the new version. Are there any newer docs?