Instead of requiring modules to blanket ask for env they could Pick off the exact variables they need. This would mean modules could be more easily be used without all features implemented.
It might also be useful to adapt createEnv to take a set of keys so partial envs can be constructed too.
Instead of requiring modules to blanket ask for
env
they couldPick
off the exact variables they need. This would mean modules could be more easily be used without all features implemented.It might also be useful to adapt
createEnv
to take a set of keys so partial envs can be constructed too.