I have extended bucket to be "self aware" and in my case act as a singelton and be able to insert itself as a parameter when creating instances - maybe something you would consider adding to the source?
This is something I have explicitly avoided doing, because I consider it a sign of weakness in the design, to inject the top level container. I'd rather encourage that users write e factories that are tailored explicitly to the instances that they are to create. Do you have specific usecase in mind?
This is something I have explicitly avoided doing, because I consider it a sign of weakness in the design, to inject the top level container. I'd rather encourage that users write e factories that are tailored explicitly to the instances that they are to create. Do you have specific usecase in mind?