Fork me on GitHub
#duct
<
2020-06-19
>
walterl16:06:05

In what module is the :duct/database key defined?

Kevin17:06:34

What do you mean by defined?

Kevin17:06:12

AFAIK there's no :duct/database key, there is a :duct.database/sql though. For example the hikaricp duct init key derived from this. That way you can reference it as :duct.database/sql. If you switch to a different database pool you won't have to change this key

walterl18:06:09

Thanks, @kevin.van.rooijen, but I found it in another lib being used.

Kevin18:06:27

Which one?

walterl18:06:19

Looks like I was mistaken. It's in the code base I'm working, passed with :duct/daemon to the top-level ig/init. Not the best name for that key 😕

Kevin18:06:40

Ah ok, so they're starting whatever derives from :duct/database on boot I guess. A bit strange unless no other keys are referring to that key

walterl18:06:50

Exactly. There are a few keys that derive from :duct/database, but no other components refer to them. Apologies, the duct ns led me to assume that it was from duct.

Kevin18:06:24

Crisis averted 👍

😆 3