Skip to content

Do not use reflection if auto wiring is not enabled #9

@kpicaza

Description

@kpicaza

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)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions