Original post

In the example before, we pushed a config object into our database package. But is that what we want? Now our package is locked into using this specific config package. What did it buy us? Dynamically update our DB config? It, sounds nice, but doesn’t work like you think it will.

In this case, the implementing app should create a new DB instance and shut the old one down. That’s the whole point of this package structure.