In what module is the :duct/database
key defined?
What do you mean by defined?
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
Thanks, @kevin.van.rooijen, but I found it in another lib being used.
Which one?
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 😕
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
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.
Crisis averted 👍