serum
serum copied to clipboard
Contexts should be stackable
With the current implemenation, a dependency can only be found in the current context. This means that if you want to temporarily override a dependency, you must supply all the dependencies from the old context and replace your dependency of interest.
If contexts were nestable, such that dependencies are first looked up in the current context, then the context that preceeded it, replacing only a subset of dependencies would be very easy.