duct-framework / core

The core library of the Duct framework
76 stars 21 forks source link

The custom readers' tag cannot be used when the tag is behind a `:duct.core/include` #5

Closed zerg000000 closed 7 years ago

zerg000000 commented 7 years ago

The read-config can take custom readers as second argument. However, the duct.core/prep has a separate call to read-config for evaluating the edn defined in :duct.core/include. Which means we have no way to define custom readers for reading config under key :duct.core/include.

weavejester commented 7 years ago

Good point. We either need to add the readers as an option to prep, or perhaps allow some global registration of data readers specific to Duct.