Fork me on GitHub
#duct
<
2019-09-27
>
jjttjj19:09:42

With duct, do people typically pass around the whole system map to all functions that need multiple components?

jahson19:09:42

IMO you provide just dependencies required, not the whole system.

jjttjj19:09:21

so if something takes for example a logger, a database resource and an external data api connection, you would select keys on the system for just those components and pass that to the function?