alecthomas/injector — pull request #38 by VRGhost (2014-02-22 11:23:55+00:00)
Title: Allowing for child injectors to rebind dependancies bound in parent inje...

Hello,

This pull request is to allow for child injectors to override bound arguments for bindings defined in the parent injector.

I believe that if injector is trying to resolve binding, it should prioritise its own bindings to parents'.

To achieve that I had to unbind Provider from an injector, so the providers' context can be supplied in the runtime.

The appropriate test ("test_child_injector_rebinds_arguments_for_parent_scope") had been added to the test set.