Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support references to arbitrary container entries for factory definitions #321
Currently, references to container entries in factory definitions are only possible, if they reference a class that actually exist with this exact FQN.
This PR enables you to to reference arbitrary container entries in factory definitions (as long as they are callables, of course), for example:
Oh, I didn't know that this is possible! You are right,
But this change uses the container for callable resolution, too, which enables you to use any container entry name for the first part and thus allows something like:
I just looked at the documentation where it says
This is actually not possible at the moment and would only be possible with the changes in this PR, too.