Is your feature request related to a problem? Please describe.
when the auto wiring option is disabled, the container resolves automatically the factory class for the given service, this is unexpected behavior and a performance killer.
Describe the solution you'd like
there should be two options, first set the factory class as a dependency in the container, and the second option is to instantiate dynamically the factory class(assuming that it doesn't have any constructor parameters)
Is your feature request related to a problem? Please describe.
when the auto wiring option is disabled, the container resolves automatically the factory class for the given service, this is unexpected behavior and a performance killer.
Describe the solution you'd like
there should be two options, first set the factory class as a dependency in the container, and the second option is to instantiate dynamically the factory class(assuming that it doesn't have any constructor parameters)